Signal drop!
Relay (operand.online) is unreachable.
Usually, a dropped signal means an upgrade is happening. Hold on!
Sorry, no connección.
Hang in there while we get back on track
gram: luck
> ./sample-data-old/trip-plan.openingRange.highlighter
Lenses
(coming soon!)
{
"id": "trip-plan.openingRange",
"name": "openingRange",
"properties": [
{
"name": "$",
"formula": "{day:start} - {day:end}",
"visibility": "HIDDEN"
},
{
"name": "days",
"formula": "const days = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"]\n\nreturn days.slice(\n days.indexOf(start.valueOf()),\n days.indexOf(end.valueOf()) + 1\n)",
"visibility": "HIDDEN"
},
{
"name": "timeRanges",
"formula": "Filter(FindAll(\"timeSpan\"), SameLine($))",
"visibility": "HIDDEN"
},
{
"name": "isActive",
"formula": "days.includes(DateTime.now().weekdayShort) &&\ntimeRanges.some(r => r.data.isActive)",
"visibility": "HIDDEN"
}
]
}