python-tzlocal

Provides tzinfo object for the local timezone

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. Also, with Windows different timezone system using pytz isn’t of much use unless you separately configure the zoneinfo timezone name. With tzlocal you only need to call get_localzone() and you will get a tzinfo object with the local time zone info. On some Unices you will still not get to know what the timezone name is, but you don’t need that when you have the tzinfo file. However, if the timezone name is readily available it will be used.

沒有可用的 openSUSE Leap 16.0 官方套件

發行版

openSUSE Tumbleweed

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

openSUSE Backports for SLE 15 SP3

SUSE SLE-15-SP2

SUSE SLE-15-SP1

SUSE SLE-12-SP5

Fedora Rawhide (unstable)

Fedora 43

Fedora 42

Fedora 41

RedHat RHEL-7

CentOS CentOS-8-Stream

CentOS CentOS-7

不支援的發行版本

下列發行版本並未被官方支援。使用這些套件需要自行承擔風險。

openSUSE:Leap:42.1

openSUSE:Leap:15.1

openSUSE:Leap:15.0

SUSE:SLE-15:GA

openSUSE:ALP:Experimental:Slowroll:Base

openSUSE:Leap:42.3

openSUSE:Leap:42.2

openSUSE:Leap:15.2

SUSE:SLE-12:SLE-Module-Adv-Systems-Management

SUSE:ALP:Workbench

SUSE:ALP

CentOS:CentOS-9:Stream

CentOS:CentOS-10:Stream