summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parsers/logbooks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index 40311b6..d693b9a 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -65,7 +65,7 @@ noncaveplaces = [ "QMplaceholder", "Journey", "Loser Plateau", "UNKNOWN", 'plate
logdataissues = TROG['issues']['logdataissues']
trips ={}
-entries = { "2022": 62, "2019": 44, "2018": 74, "2017": 60, "2016": 81, "2015": 79,
+entries = { "2022": 64, "2019": 44, "2018": 74, "2017": 60, "2016": 81, "2015": 79,
"2014": 65, "2013": 51, "2012": 75, "2011": 68, "2010": 22, "2009": 52,
"2008": 49, "2007": 111, "2006": 60, "2005": 55, "2004": 76, "2003": 40, "2002": 31,
"2001": 48, "2000": 54, "1999": 79, "1998": 43, "1997": 53, "1996": 94, "1995": 41,
@@ -183,6 +183,8 @@ def ParseDate(tripdate, year):
dummydate = date(1970, 1, 1)
month = 1
day = 1
+ # message = f" ! - Trying to parse date in logbook: {tripdate} - {year}"
+ # print(message)
try:
mdatestandard = re.match(r"(\d\d\d\d)-(\d\d)-(\d\d)", tripdate)
mdategoof = re.match(r"(\d\d?)/0?(\d)/(20|19)?(\d\d)", tripdate)