mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-07 18:40:02 +00:00
29 lines
613 B
Python
29 lines
613 B
Python
|
'''tzinfo timezone information for Asia/Vientiane.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Vientiane(DstTzInfo):
|
||
|
'''Asia/Vientiane timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Asia/Vientiane'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1906,6,8,17,9,36),
|
||
|
d(1911,3,10,16,54,40),
|
||
|
d(1912,4,30,17,0,0),
|
||
|
d(1931,4,30,16,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(24600,0,'LMT'),
|
||
|
i(25560,0,'SMT'),
|
||
|
i(25200,0,'ICT'),
|
||
|
i(28800,0,'ICT'),
|
||
|
i(25200,0,'ICT'),
|
||
|
]
|
||
|
|
||
|
Vientiane = Vientiane()
|
||
|
|