mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-16 23:04:54 +00:00
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()
|
||
|
|