diff options
Diffstat (limited to 'dbparse.js')
-rw-r--r-- | dbparse.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -71,6 +71,7 @@ async function writeShifts(data, DB) DB.query_raw("DELETE FROM shiftnames") ]); + data = data.replace(/RUOKAILUVUOROT.*/, ""); const dbOperations = []; const shiftRegex = /((?:MAANANTAI|TIISTAI|KESKIVIIKKO|TORSTAI|PERJANTAI)?.*)\s*(RUOKAILU.*)\s*(.*)/gmi; const shifts = data.matchAll(shiftRegex); |