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