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