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