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