mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-20 07:00:31 +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()
|
||
|
|