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()
|
||
|
|