mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +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()
|
||
|
|