mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-02 22:39:59 +00:00
13 lines
367 B
Python
13 lines
367 B
Python
|
'''tzinfo timezone information for Etc/Greenwich.'''
|
||
|
from pytz.tzinfo import StaticTzInfo
|
||
|
from pytz.tzinfo import memorized_timedelta as timedelta
|
||
|
|
||
|
class Greenwich(StaticTzInfo):
|
||
|
'''Etc/Greenwich timezone definition. See datetime.tzinfo for details'''
|
||
|
zone = 'Etc/Greenwich'
|
||
|
_utcoffset = timedelta(seconds=0)
|
||
|
_tzname = 'GMT'
|
||
|
|
||
|
Greenwich = Greenwich()
|
||
|
|