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.

There is no official package available for openSUSE Leap 16.0

Distributions

openSUSE Tumbleweed

home:Simmphonie:python OpenSUSE-fellesskapet
5.3.1
home:alvistack OpenSUSE-fellesskapet
5.3.1
home:arachnos OpenSUSE-fellesskapet
5.3.1
home:dgarcia:staging OpenSUSE-fellesskapet
4.3
home:frispete:python OpenSUSE-fellesskapet
5.3.1
home:zombah:python OpenSUSE-fellesskapet
2.1

openSUSE Leap 16.0

home:Simmphonie:python OpenSUSE-fellesskapet
5.3.1
home:ecsos:python OpenSUSE-fellesskapet
5.3.1
home:wicked:qubes-build OpenSUSE-fellesskapet
4.3
home:zombah:python OpenSUSE-fellesskapet
2.1

openSUSE Leap 15.6

home:Simmphonie:python OpenSUSE-fellesskapet
5.3.1
home:ecsos:python OpenSUSE-fellesskapet
5.3.1
home:wicked:qubes-build OpenSUSE-fellesskapet
4.3

openSUSE Leap 15.5

openSUSE Backports for SLE 15 SP7

home:Simmphonie:python OpenSUSE-fellesskapet
5.3.1
home:wicked:qubes-build OpenSUSE-fellesskapet
4.3

openSUSE Backports for SLE 15 SP4

home:frispete:python OpenSUSE-fellesskapet
4.3

openSUSE Backports for SLE 15 SP3

SUSE SLE-15-SP2

SUSE SLE-15-SP1

SUSE SLE-12-SP5

Fedora Rawhide (unstable)

home:alvistack OpenSUSE-fellesskapet
5.3.1

Fedora 43

home:alvistack OpenSUSE-fellesskapet
5.3.1

Fedora 42

home:alvistack OpenSUSE-fellesskapet
5.3.1

Fedora 41

home:alvistack OpenSUSE-fellesskapet
5.3.1

RedHat RHEL-7

CentOS CentOS-8-Stream

home:alvistack OpenSUSE-fellesskapet
5.2

CentOS CentOS-7

home:alvistack OpenSUSE-fellesskapet
5.2

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.

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