mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-13 03:30:30 +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
273 lines
5.5 KiB
Python
273 lines
5.5 KiB
Python
'''tzinfo timezone information for America/Whitehorse.'''
|
|
from pytz.tzinfo import DstTzInfo
|
|
from pytz.tzinfo import memorized_datetime as d
|
|
from pytz.tzinfo import memorized_ttinfo as i
|
|
|
|
class Whitehorse(DstTzInfo):
|
|
'''America/Whitehorse timezone definition. See datetime.tzinfo for details'''
|
|
|
|
zone = 'America/Whitehorse'
|
|
|
|
_utc_transition_times = [
|
|
d(1,1,1,0,0,0),
|
|
d(1918,4,14,11,0,0),
|
|
d(1918,10,27,10,0,0),
|
|
d(1919,5,25,11,0,0),
|
|
d(1919,11,1,8,0,0),
|
|
d(1942,2,9,11,0,0),
|
|
d(1945,8,14,23,0,0),
|
|
d(1945,9,30,10,0,0),
|
|
d(1965,4,25,9,0,0),
|
|
d(1965,10,31,9,0,0),
|
|
d(1966,7,1,11,0,0),
|
|
d(1980,4,27,10,0,0),
|
|
d(1980,10,26,9,0,0),
|
|
d(1981,4,26,10,0,0),
|
|
d(1981,10,25,9,0,0),
|
|
d(1982,4,25,10,0,0),
|
|
d(1982,10,31,9,0,0),
|
|
d(1983,4,24,10,0,0),
|
|
d(1983,10,30,9,0,0),
|
|
d(1984,4,29,10,0,0),
|
|
d(1984,10,28,9,0,0),
|
|
d(1985,4,28,10,0,0),
|
|
d(1985,10,27,9,0,0),
|
|
d(1986,4,27,10,0,0),
|
|
d(1986,10,26,9,0,0),
|
|
d(1987,4,5,10,0,0),
|
|
d(1987,10,25,9,0,0),
|
|
d(1988,4,3,10,0,0),
|
|
d(1988,10,30,9,0,0),
|
|
d(1989,4,2,10,0,0),
|
|
d(1989,10,29,9,0,0),
|
|
d(1990,4,1,10,0,0),
|
|
d(1990,10,28,9,0,0),
|
|
d(1991,4,7,10,0,0),
|
|
d(1991,10,27,9,0,0),
|
|
d(1992,4,5,10,0,0),
|
|
d(1992,10,25,9,0,0),
|
|
d(1993,4,4,10,0,0),
|
|
d(1993,10,31,9,0,0),
|
|
d(1994,4,3,10,0,0),
|
|
d(1994,10,30,9,0,0),
|
|
d(1995,4,2,10,0,0),
|
|
d(1995,10,29,9,0,0),
|
|
d(1996,4,7,10,0,0),
|
|
d(1996,10,27,9,0,0),
|
|
d(1997,4,6,10,0,0),
|
|
d(1997,10,26,9,0,0),
|
|
d(1998,4,5,10,0,0),
|
|
d(1998,10,25,9,0,0),
|
|
d(1999,4,4,10,0,0),
|
|
d(1999,10,31,9,0,0),
|
|
d(2000,4,2,10,0,0),
|
|
d(2000,10,29,9,0,0),
|
|
d(2001,4,1,10,0,0),
|
|
d(2001,10,28,9,0,0),
|
|
d(2002,4,7,10,0,0),
|
|
d(2002,10,27,9,0,0),
|
|
d(2003,4,6,10,0,0),
|
|
d(2003,10,26,9,0,0),
|
|
d(2004,4,4,10,0,0),
|
|
d(2004,10,31,9,0,0),
|
|
d(2005,4,3,10,0,0),
|
|
d(2005,10,30,9,0,0),
|
|
d(2006,4,2,10,0,0),
|
|
d(2006,10,29,9,0,0),
|
|
d(2007,3,11,10,0,0),
|
|
d(2007,11,4,9,0,0),
|
|
d(2008,3,9,10,0,0),
|
|
d(2008,11,2,9,0,0),
|
|
d(2009,3,8,10,0,0),
|
|
d(2009,11,1,9,0,0),
|
|
d(2010,3,14,10,0,0),
|
|
d(2010,11,7,9,0,0),
|
|
d(2011,3,13,10,0,0),
|
|
d(2011,11,6,9,0,0),
|
|
d(2012,3,11,10,0,0),
|
|
d(2012,11,4,9,0,0),
|
|
d(2013,3,10,10,0,0),
|
|
d(2013,11,3,9,0,0),
|
|
d(2014,3,9,10,0,0),
|
|
d(2014,11,2,9,0,0),
|
|
d(2015,3,8,10,0,0),
|
|
d(2015,11,1,9,0,0),
|
|
d(2016,3,13,10,0,0),
|
|
d(2016,11,6,9,0,0),
|
|
d(2017,3,12,10,0,0),
|
|
d(2017,11,5,9,0,0),
|
|
d(2018,3,11,10,0,0),
|
|
d(2018,11,4,9,0,0),
|
|
d(2019,3,10,10,0,0),
|
|
d(2019,11,3,9,0,0),
|
|
d(2020,3,8,10,0,0),
|
|
d(2020,11,1,9,0,0),
|
|
d(2021,3,14,10,0,0),
|
|
d(2021,11,7,9,0,0),
|
|
d(2022,3,13,10,0,0),
|
|
d(2022,11,6,9,0,0),
|
|
d(2023,3,12,10,0,0),
|
|
d(2023,11,5,9,0,0),
|
|
d(2024,3,10,10,0,0),
|
|
d(2024,11,3,9,0,0),
|
|
d(2025,3,9,10,0,0),
|
|
d(2025,11,2,9,0,0),
|
|
d(2026,3,8,10,0,0),
|
|
d(2026,11,1,9,0,0),
|
|
d(2027,3,14,10,0,0),
|
|
d(2027,11,7,9,0,0),
|
|
d(2028,3,12,10,0,0),
|
|
d(2028,11,5,9,0,0),
|
|
d(2029,3,11,10,0,0),
|
|
d(2029,11,4,9,0,0),
|
|
d(2030,3,10,10,0,0),
|
|
d(2030,11,3,9,0,0),
|
|
d(2031,3,9,10,0,0),
|
|
d(2031,11,2,9,0,0),
|
|
d(2032,3,14,10,0,0),
|
|
d(2032,11,7,9,0,0),
|
|
d(2033,3,13,10,0,0),
|
|
d(2033,11,6,9,0,0),
|
|
d(2034,3,12,10,0,0),
|
|
d(2034,11,5,9,0,0),
|
|
d(2035,3,11,10,0,0),
|
|
d(2035,11,4,9,0,0),
|
|
d(2036,3,9,10,0,0),
|
|
d(2036,11,2,9,0,0),
|
|
d(2037,3,8,10,0,0),
|
|
d(2037,11,1,9,0,0),
|
|
]
|
|
|
|
_transition_info = [
|
|
i(-32400,0,'YST'),
|
|
i(-28800,3600,'YDT'),
|
|
i(-32400,0,'YST'),
|
|
i(-28800,3600,'YDT'),
|
|
i(-32400,0,'YST'),
|
|
i(-28800,3600,'YWT'),
|
|
i(-28800,3600,'YPT'),
|
|
i(-32400,0,'YST'),
|
|
i(-25200,7200,'YDDT'),
|
|
i(-32400,0,'YST'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
i(-25200,3600,'PDT'),
|
|
i(-28800,0,'PST'),
|
|
]
|
|
|
|
Whitehorse = Whitehorse()
|
|
|