Not sure if bug: DateTime as function parameters #438
|
My current application uses version 3.13.1 and this works there. I attempted to update to version 5.4.2 and I'm running into an issue that I'm not sure if it is a bug, or just a difference in how things work now. I thought I'd ask before I opened a bug. Quick, minimal code: This one returns This one returns If I put some quotes around the date, I don't get a parsing error, but of course my function doesn't work because it is now a string. It seems like the parser doesn't like the #DateTime# parameters. |
Replies: 1 comment 5 replies
|
There was a change made in may-june that changes how dates are parsed. There's current culture taken into account now. The code in ncalc/ncalc is bound to the current culture, as it seems. In my fork, you can choose between built-in separators, current culture, specific culture, or custom separators. The order is customizable as well. |
There was a change made in may-june that changes how dates are parsed. There's current culture taken into account now. The code in ncalc/ncalc is bound to the current culture, as it seems. In my fork, you can choose between built-in separators, current culture, specific culture, or custom separators. The order is customizable as well.