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