I hereby claim:
- I am golmakov on github.
- I am golmakov (https://keybase.io/golmakov) on keybase.
- I have a public key ASBBUM84bJgN6lTJufgv4pksaEN_adqkJU-fO-RnTeuZbAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const LENGTH_YEAR = 4; | |
const LENGTH_MONTH = 2; | |
const LENGTH_DATE = 2; | |
const LENGTH_SEPARATOR = 1; | |
const SEPARATOR = `(?:\\.|\\/|\\-|\\s|\\,)`; | |
/* RegExps for parsing Date formats */ | |
const RE_ORDER_MDY = new RegExp( |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-green; icon-glyph: bullhorn; | |
const getEventsForToday = CalendarEvent.today() | |
.then(result => { | |
return result.filter(event => { | |
return !event.isAllDay && event.endDate > Date.now() | |
}) | |
} |