[#197] added now datetime filter constant
This commit is contained in:
@@ -230,7 +230,7 @@
|
||||
return null;
|
||||
}
|
||||
|
||||
let options = [{ label: "false" }, { label: "true" }];
|
||||
let options = [{ label: "false" }, { label: "true" }, { label: "@now" }];
|
||||
|
||||
if (!disableIndirectCollectionsKeys) {
|
||||
options.push({ label: "@collection.*", apply: "@collection." });
|
||||
@@ -263,7 +263,7 @@
|
||||
|
||||
// Returns all field keys as keyword patterns to highlight.
|
||||
function keywords() {
|
||||
const result = [];
|
||||
const result = [{ regex: CommonHelper.escapeRegExp("@now"), token: "keyword" }];
|
||||
const keys = getAllKeys(!disableRequestKeys, !disableIndirectCollectionsKeys);
|
||||
|
||||
for (const key of keys) {
|
||||
|
||||
@@ -489,7 +489,7 @@ span.flatpickr-weekday {
|
||||
.flatpickr-day.today:focus {
|
||||
border-color: var(--primaryColor);
|
||||
background: var(--primaryColor);
|
||||
color: var(--txtPrimaryColor);
|
||||
color: var(--baseColor);
|
||||
}
|
||||
.flatpickr-day.selected,
|
||||
.flatpickr-day.startRange,
|
||||
|
||||
Reference in New Issue
Block a user