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