Wrong weekdays indexes fixed
This commit is contained in:
parent
91ab00eec6
commit
0b01ecbdd5
@ -14,7 +14,7 @@ __author__ = "Davide Testa"
|
|||||||
__email__ = "davide@davte.it"
|
__email__ = "davide@davte.it"
|
||||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "2.4.19"
|
__version__ = "2.4.20"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -25,33 +25,33 @@ from bs4 import BeautifulSoup
|
|||||||
|
|
||||||
weekdays = collections.OrderedDict()
|
weekdays = collections.OrderedDict()
|
||||||
weekdays[0] = {
|
weekdays[0] = {
|
||||||
'en': "Sunday",
|
|
||||||
'it': "Domenica",
|
|
||||||
}
|
|
||||||
weekdays[1] = {
|
|
||||||
'en': "Monday",
|
'en': "Monday",
|
||||||
'it': "Lunedì",
|
'it': "Lunedì",
|
||||||
}
|
}
|
||||||
weekdays[2] = {
|
weekdays[1] = {
|
||||||
'en': "Tuesday",
|
'en': "Tuesday",
|
||||||
'it': "Martedì",
|
'it': "Martedì",
|
||||||
}
|
}
|
||||||
weekdays[3] = {
|
weekdays[2] = {
|
||||||
'en': "Wednesday",
|
'en': "Wednesday",
|
||||||
'it': "Mercoledì",
|
'it': "Mercoledì",
|
||||||
}
|
}
|
||||||
weekdays[4] = {
|
weekdays[3] = {
|
||||||
'en': "Thursday",
|
'en': "Thursday",
|
||||||
'it': "Giovedì",
|
'it': "Giovedì",
|
||||||
}
|
}
|
||||||
weekdays[5] = {
|
weekdays[4] = {
|
||||||
'en': "Friday",
|
'en': "Friday",
|
||||||
'it': "Venerdì",
|
'it': "Venerdì",
|
||||||
}
|
}
|
||||||
weekdays[6] = {
|
weekdays[5] = {
|
||||||
'en': "Saturday",
|
'en': "Saturday",
|
||||||
'it': "Sabato",
|
'it': "Sabato",
|
||||||
}
|
}
|
||||||
|
weekdays[6] = {
|
||||||
|
'en': "Sunday",
|
||||||
|
'it': "Domenica",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def sumif(iterable, condition):
|
def sumif(iterable, condition):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user