One of my APIs suddenly broke, and I discovered that if I evaluate
Block[{$DateStringFormat = "ISODateTime"},
DatePlus["2021-09-20", 1]
]
In my Desktop I get:
"2021-09-21T00:00:00"
In Wolfram Cloud I get:
cannot be interpreted as a date or time input or as a date string format
Small question: It's a bug in this release? Or a compatibility change?
Big Question: Can I choose my cloud version, to avoid this kind of broke?
Notes
- In my desktop I have the \$Version = "12.3.0 for Mac OS X x86 (64-bit) (May 10, 2021)"
- In Wolfram Cloud \$Version = "12.3.1 for Linux x86 (64-bit) (June 24, 2021)"
$DateStringFormat
line. Can you check again? $\endgroup$DateObject
viaDateString[DatePlus[DateObject["2021-09-20"], 1], "ISODateTime"]
$\endgroup$