mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-11 10:40:32 +00:00
13 lines
331 B
Python
13 lines
331 B
Python
|
'''tzinfo timezone information for Etc/UTC.'''
|
||
|
from pytz.tzinfo import StaticTzInfo
|
||
|
from pytz.tzinfo import memorized_timedelta as timedelta
|
||
|
|
||
|
class UTC(StaticTzInfo):
|
||
|
'''Etc/UTC timezone definition. See datetime.tzinfo for details'''
|
||
|
zone = 'Etc/UTC'
|
||
|
_utcoffset = timedelta(seconds=0)
|
||
|
_tzname = 'UTC'
|
||
|
|
||
|
UTC = UTC()
|
||
|
|