View Single Post
Old 08-18-2023, 02:21 PM   #40098
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,260
Karma: 171291590
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Morning coffee since it's a cool day so far making a hot drink enjoyable.

I'm having fun with a script that was supposed to convert date formats. I'm not certain what the original author tested on but so far ISO (yyyy-mm-dd) dates do not convert to either dd-mm-yyyy or mm-dd-yyyy correctly and trying to convert other formats with 2 digit years to yyyy-mm-dd gives multiple errors.

I was going to modify it to handle dd-MMM-yyyy to/from ISO for ease in sorting but am now thinking it's time to look for another solution that will run under Python3 or Python2. The current one claims to have been modified to run under Python 3 but it looks as if the conversion was not done correctly.
DNSB is offline   Reply With Quote