devel/py-tzlocal 5.2 DragonFly
Returns the tzinfo object for the local timezone
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 31.6 KiB, 162.3 KiB installed
Description
This Python module returns a tzinfo object with the local timezone information under Unix and Win-32. It requires pytz, and returns pytz tzinfo objects.
This module attempts to fix a glaring hole in pytz, that there is no way to get the local timezone information, unless you know the zoneinfo name, and under several Linux distros that's hard or impossible to figure out.
In the other systems
The newest version among them is 5.4.4, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-tzlocal | 5.2 behind since 2026-07-08 | none known | - | [email protected] | - |
| FreeBSD | devel/py-tzlocal | 5.4.4 newest | none known | - | [email protected] | 2026-07-09 |
| OpenBSD | devel/py-tzlocal | 5.4.4 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-10-23 |
| NetBSD | time/py-tzlocal by name | 5.4.4 newest | none known | - | [email protected] | 2026-10-24 |
| HardenedBSD | devel/py-tzlocal | 5.4.4 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-tzlocal | 5.4.4 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-tzlocal
From DPorts:
cd /usr/dports/devel/py-tzlocal && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.