You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
Python
13 lines
378 B
Python
8 years ago
|
'''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()
|
||
|
|