mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-08 02:49:59 +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()
|
||
|
|