summaryrefslogtreecommitdiffstats
path: root/parsers/logbooks.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-09-22 00:22:09 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-09-22 00:22:09 +0300
commit11b1d41a55af642eac53243d60d4851ef669e12f (patch)
tree57c8b80770805f5c8f8f88edc6e81d676b5c68ef /parsers/logbooks.py
parent86ea33bbce93d52bb795efcfb9b669c946562b0c (diff)
downloadtroggle-11b1d41a55af642eac53243d60d4851ef669e12f.tar.gz
troggle-11b1d41a55af642eac53243d60d4851ef669e12f.tar.bz2
troggle-11b1d41a55af642eac53243d60d4851ef669e12f.zip
increase entires to 64
Diffstat (limited to 'parsers/logbooks.py')
-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)