mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-12 11:10:30 +00:00
13 lines
324 B
Python
13 lines
324 B
Python
|
'''tzinfo timezone information for HST.'''
|
||
|
from pytz.tzinfo import StaticTzInfo
|
||
|
from pytz.tzinfo import memorized_timedelta as timedelta
|
||
|
|
||
|
class HST(StaticTzInfo):
|
||
|
'''HST timezone definition. See datetime.tzinfo for details'''
|
||
|
zone = 'HST'
|
||
|
_utcoffset = timedelta(seconds=-36000)
|
||
|
_tzname = 'HST'
|
||
|
|
||
|
HST = HST()
|
||
|
|