mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 13:43:47 +00:00
13 lines
355 B
Python
13 lines
355 B
Python
|
'''tzinfo timezone information for Universal.'''
|
||
|
from pytz.tzinfo import StaticTzInfo
|
||
|
from pytz.tzinfo import memorized_timedelta as timedelta
|
||
|
|
||
|
class Universal(StaticTzInfo):
|
||
|
'''Universal timezone definition. See datetime.tzinfo for details'''
|
||
|
zone = 'Universal'
|
||
|
_utcoffset = timedelta(seconds=0)
|
||
|
_tzname = 'UTC'
|
||
|
|
||
|
Universal = Universal()
|
||
|
|