mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-04 23:40:01 +00:00
31 lines
633 B
Python
31 lines
633 B
Python
|
'''tzinfo timezone information for Asia/Dhaka.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Dhaka(DstTzInfo):
|
||
|
'''Asia/Dhaka timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Asia/Dhaka'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1941,9,30,18,6,40),
|
||
|
d(1942,5,14,17,30,0),
|
||
|
d(1942,8,31,18,30,0),
|
||
|
d(1951,9,29,17,30,0),
|
||
|
d(1971,3,25,18,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(21180,0,'HMT'),
|
||
|
i(23400,0,'BURT'),
|
||
|
i(19800,0,'IST'),
|
||
|
i(23400,0,'BURT'),
|
||
|
i(21600,0,'DACT'),
|
||
|
i(21600,0,'BDT'),
|
||
|
]
|
||
|
|
||
|
Dhaka = Dhaka()
|
||
|
|