We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddfae34 + e377e67 commit 6e5c1b4Copy full SHA for 6e5c1b4
src/models/hasTimes.js
@@ -4,9 +4,9 @@ import Base from './base.js';
4
import Time from './time.js';
5
import DayReport from './dayReport.js';
6
7
-const regex = /added (.*) of time spent(?: at (.*))?/i;
8
-const subRegex = /subtracted (.*) of time spent(?: at (.*))?/i;
9
-const delRegex = /deleted (.*) of spent time(?: from (.*))?/i;
+const regex = /added (.*) of time spent(?: at ([0-9-]*))?/i;
+const subRegex = /subtracted (.*) of time spent(?: at ([0-9-]*))?/i;
+const delRegex = /deleted (.*) of spent time(?: from ([0-9-]*))?/i;
10
const removeRegex = /Removed time spent/i;
11
12
/**
0 commit comments