mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Timestamp accessors previously compiled only on schema fields, so a saved
shortcut like created_ts.getMonth() == now.getMonth() && created_ts.getDate()
== now.getDate() ("on this day") failed with unknown identifier "now" and the
only workaround froze literal month/day values into the filter.
Accessors on `now` now fold to literal date parts of the frozen per-compile
clock (UTC, CEL bases: 0-based month/day-of-week), so such filters re-resolve
on every query. Comparisons are also normalized for the renderer: a folded
literal on the left swaps operands with the operator mirrored, and
literal-vs-literal comparisons fold to a constant condition.
|
3 days ago | |
|---|---|---|
| .. | ||
| ai | 1 week ago | |
| base | ||
| cron | ||
| filter | 3 days ago | |
| httpgetter | ||
| idp | ||
| markdown | ||
| motionphoto | ||
| profile | 5 days ago | |
| scheduler | 3 days ago | |
| storage/s3 | 3 weeks ago | |
| testutil | ||
| util | ||
| version | ||
| webhook | 2 weeks ago | |