tpmkms_4wp 9.3.0-beta.19 → 9.3.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/reminders.js +4 -1
- package/common/reminders.test.json +2683 -0
- package/package.json +2 -2
package/common/reminders.js
CHANGED
@@ -16,6 +16,9 @@ const helpers = require('./helpers')
|
|
16
16
|
remind greg to go to regina
|
17
17
|
remind every truck driver to whatever tomorrow at 8 am
|
18
18
|
remind greg and bob to go to bolivia and see the xyz corporation
|
19
|
+
|
20
|
+
remind me to go\nmonday at 10 am
|
21
|
+
remind me to go\non monday at 10 am
|
19
22
|
*/
|
20
23
|
|
21
24
|
class API {
|
@@ -187,7 +190,7 @@ const template = {
|
|
187
190
|
},
|
188
191
|
|
189
192
|
matchr: ({ isA, api, context }) => {
|
190
|
-
if (isA(context.marker, 'onDateValue_dates') && api.askAbout().length > 0) {
|
193
|
+
if ((isA(context.marker, 'onDateValue_dates') || isA(context.marker, 'dateTimeSelector')) && api.askAbout().length > 0) {
|
191
194
|
return true
|
192
195
|
}
|
193
196
|
return false
|