Open dennisorlando opened 1 month ago
This is related to #650. After some thought, I should be able to add a modifier whose value would control whether the extended range can be used. This is what I want eventually anyway; the only difference would be that the default has to be backwards-compatible (essentially opt-out instead of opt-in).
Hi,
bson
enables the "large-dates" feature, which means that when you add it to your crate, everything that parsed sometime::PrimitiveDateTime
s using the plain version oftime
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