13 lines
325 B
Python
13 lines
325 B
Python
|
'''tzinfo timezone information for GMT0.'''
|
||
|
from pytz.tzinfo import StaticTzInfo
|
||
|
from pytz.tzinfo import memorized_timedelta as timedelta
|
||
|
|
||
|
class GMT0(StaticTzInfo):
|
||
|
'''GMT0 timezone definition. See datetime.tzinfo for details'''
|
||
|
zone = 'GMT0'
|
||
|
_utcoffset = timedelta(seconds=0)
|
||
|
_tzname = 'GMT'
|
||
|
|
||
|
GMT0 = GMT0()
|
||
|
|