Fix February dict key.
This commit is contained in:
2
ulzx
2
ulzx
@@ -44,7 +44,7 @@ class ULzx(extfslib.Archive):
|
|||||||
def _get_date(self, time, date):
|
def _get_date(self, time, date):
|
||||||
"""Return MM-DD-YYYY hh:mm formatted date out of time and date
|
"""Return MM-DD-YYYY hh:mm formatted date out of time and date
|
||||||
strings"""
|
strings"""
|
||||||
month_list = ["jan", "fe", "mar", "apr", "may", "jun", "jul",
|
month_list = ["jan", "feb", "mar", "apr", "may", "jun", "jul",
|
||||||
"aug", "sep", "oct", "nov", "dec"]
|
"aug", "sep", "oct", "nov", "dec"]
|
||||||
day, month, year = date.split("-")
|
day, month, year = date.split("-")
|
||||||
month = month_list.index(month) + 1
|
month = month_list.index(month) + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user