time
time copied to clipboard
Solve "large-dates" ambiguity
Hi,
bson
enables the "large-dates" feature, which means that when you add it to your crate, everything that parsed some time::PrimitiveDateTime
s using the plain version of time
will potentially break, due to some documented ambiguities.
Is it possible to provide a way to solve those ambiguity, so that we don't have to change our program in order to handle different date-time formats?
Maybe a way to provide the number of characters dedicated to the [year] value?
This is the datetime which causes problems when "large-dates" is enabled:
20240602205731Z