Hi all,

In the java standard library, there is a lenient mode, where heuristics are 
used to take a potentially invalid string and convert it to a valid date 
time.

https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html#setLenient-boolean-

For example, a date like this 1983-02-00T00:00:00Z may turn into something 
like this 1983-01-31T00:00:00Z. Now obviously the standard time library 
doesn't support this and its perfectly understandable why. My question is 
whether there's a third party library that does something like this?

Thanks,
Joe 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/1a86ce52-92f0-486a-86bd-c1995c2f1579%40googlegroups.com.

Reply via email to