it’s a parsing thing, I’m not sure why but :1
gets parsed as 1
, so it tries to do 1 * day
.
You want Symbol("1day")
, as :(1day)
is creating an expression, which is different.
it’s a parsing thing, I’m not sure why but :1
gets parsed as 1
, so it tries to do 1 * day
.
You want Symbol("1day")
, as :(1day)
is creating an expression, which is different.