mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-12 03:00:31 +00:00
bbf6d9b026
Bugfix for feeds - removed categories related and up - load new books now working - category random now working login page is free of non accessible elements boolean custom column is vivible in UI books with only with certain languages can be shown book shelfs can be deleted from UI Anonymous user view is more resticted Added browse of series in sidebar Dependencys in vendor folder are updated to newer versions (licencs files are now present) Bugfix editing Authors names Made upload on windows working
237 lines
4.9 KiB
Python
237 lines
4.9 KiB
Python
'''tzinfo timezone information for Asia/Ulaanbaatar.'''
|
|
from pytz.tzinfo import DstTzInfo
|
|
from pytz.tzinfo import memorized_datetime as d
|
|
from pytz.tzinfo import memorized_ttinfo as i
|
|
|
|
class Ulaanbaatar(DstTzInfo):
|
|
'''Asia/Ulaanbaatar timezone definition. See datetime.tzinfo for details'''
|
|
|
|
zone = 'Asia/Ulaanbaatar'
|
|
|
|
_utc_transition_times = [
|
|
d(1,1,1,0,0,0),
|
|
d(1905,7,31,16,52,28),
|
|
d(1977,12,31,17,0,0),
|
|
d(1983,3,31,16,0,0),
|
|
d(1983,9,30,15,0,0),
|
|
d(1984,3,31,16,0,0),
|
|
d(1984,9,29,15,0,0),
|
|
d(1985,3,30,16,0,0),
|
|
d(1985,9,28,15,0,0),
|
|
d(1986,3,29,16,0,0),
|
|
d(1986,9,27,15,0,0),
|
|
d(1987,3,28,16,0,0),
|
|
d(1987,9,26,15,0,0),
|
|
d(1988,3,26,16,0,0),
|
|
d(1988,9,24,15,0,0),
|
|
d(1989,3,25,16,0,0),
|
|
d(1989,9,23,15,0,0),
|
|
d(1990,3,24,16,0,0),
|
|
d(1990,9,29,15,0,0),
|
|
d(1991,3,30,16,0,0),
|
|
d(1991,9,28,15,0,0),
|
|
d(1992,3,28,16,0,0),
|
|
d(1992,9,26,15,0,0),
|
|
d(1993,3,27,16,0,0),
|
|
d(1993,9,25,15,0,0),
|
|
d(1994,3,26,16,0,0),
|
|
d(1994,9,24,15,0,0),
|
|
d(1995,3,25,16,0,0),
|
|
d(1995,9,23,15,0,0),
|
|
d(1996,3,30,16,0,0),
|
|
d(1996,9,28,15,0,0),
|
|
d(1997,3,29,16,0,0),
|
|
d(1997,9,27,15,0,0),
|
|
d(1998,3,28,16,0,0),
|
|
d(1998,9,26,15,0,0),
|
|
d(2001,4,27,18,0,0),
|
|
d(2001,9,28,17,0,0),
|
|
d(2002,3,29,18,0,0),
|
|
d(2002,9,27,17,0,0),
|
|
d(2003,3,28,18,0,0),
|
|
d(2003,9,26,17,0,0),
|
|
d(2004,3,26,18,0,0),
|
|
d(2004,9,24,17,0,0),
|
|
d(2005,3,25,18,0,0),
|
|
d(2005,9,23,17,0,0),
|
|
d(2006,3,24,18,0,0),
|
|
d(2006,9,29,17,0,0),
|
|
d(2007,3,30,18,0,0),
|
|
d(2007,9,28,17,0,0),
|
|
d(2008,3,28,18,0,0),
|
|
d(2008,9,26,17,0,0),
|
|
d(2009,3,27,18,0,0),
|
|
d(2009,9,25,17,0,0),
|
|
d(2010,3,26,18,0,0),
|
|
d(2010,9,24,17,0,0),
|
|
d(2011,3,25,18,0,0),
|
|
d(2011,9,23,17,0,0),
|
|
d(2012,3,30,18,0,0),
|
|
d(2012,9,28,17,0,0),
|
|
d(2013,3,29,18,0,0),
|
|
d(2013,9,27,17,0,0),
|
|
d(2014,3,28,18,0,0),
|
|
d(2014,9,26,17,0,0),
|
|
d(2015,3,27,18,0,0),
|
|
d(2015,9,25,17,0,0),
|
|
d(2016,3,25,18,0,0),
|
|
d(2016,9,23,17,0,0),
|
|
d(2017,3,24,18,0,0),
|
|
d(2017,9,29,17,0,0),
|
|
d(2018,3,30,18,0,0),
|
|
d(2018,9,28,17,0,0),
|
|
d(2019,3,29,18,0,0),
|
|
d(2019,9,27,17,0,0),
|
|
d(2020,3,27,18,0,0),
|
|
d(2020,9,25,17,0,0),
|
|
d(2021,3,26,18,0,0),
|
|
d(2021,9,24,17,0,0),
|
|
d(2022,3,25,18,0,0),
|
|
d(2022,9,23,17,0,0),
|
|
d(2023,3,24,18,0,0),
|
|
d(2023,9,29,17,0,0),
|
|
d(2024,3,29,18,0,0),
|
|
d(2024,9,27,17,0,0),
|
|
d(2025,3,28,18,0,0),
|
|
d(2025,9,26,17,0,0),
|
|
d(2026,3,27,18,0,0),
|
|
d(2026,9,25,17,0,0),
|
|
d(2027,3,26,18,0,0),
|
|
d(2027,9,24,17,0,0),
|
|
d(2028,3,24,18,0,0),
|
|
d(2028,9,29,17,0,0),
|
|
d(2029,3,30,18,0,0),
|
|
d(2029,9,28,17,0,0),
|
|
d(2030,3,29,18,0,0),
|
|
d(2030,9,27,17,0,0),
|
|
d(2031,3,28,18,0,0),
|
|
d(2031,9,26,17,0,0),
|
|
d(2032,3,26,18,0,0),
|
|
d(2032,9,24,17,0,0),
|
|
d(2033,3,25,18,0,0),
|
|
d(2033,9,23,17,0,0),
|
|
d(2034,3,24,18,0,0),
|
|
d(2034,9,29,17,0,0),
|
|
d(2035,3,30,18,0,0),
|
|
d(2035,9,28,17,0,0),
|
|
d(2036,3,28,18,0,0),
|
|
d(2036,9,26,17,0,0),
|
|
d(2037,3,27,18,0,0),
|
|
d(2037,9,25,17,0,0),
|
|
]
|
|
|
|
_transition_info = [
|
|
i(25680,0,'LMT'),
|
|
i(25200,0,'ULAT'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
]
|
|
|
|
Ulaanbaatar = Ulaanbaatar()
|
|
|