-
Describe the bug The To Reproduce
The query today (August 6th) evaluates to the string I also tried wrapping Expected behavior Actual behavior Desktop (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The following string expression from the query you provided does not evaluate to that string The fields on The following query should work
You can find other format options in the luxon docs |
Beta Was this translation helpful? Give feedback.
The following string expression from the query you provided does not evaluate to that string
`="#date/" + date(today).month + "/" + date(today).day`
will evaluate to
#date/8/6
The fields on
date
are all integers/numbers (not formatted strings) so when you add them to a string they do not have the extra zero. To get the query you want you need to usedateformat
The following query should work
You can find other format options in the luxon docs