Re: DateTime::Format::MySQL format_time incorrect

2023-07-05 Thread Dave Rolsky
Hi Marcel, Yes, that sounds like a bug. I've cc'd the current maintainer of that module, Mike Wisener, but I'd also suggest reporting the bug via rt.cpan.org at https://rt.cpan.org/Public/Dist/Display.html?Name=DateTime-Format-MySQL Cheers, Dave Rolsky http://blog.urth.org https://github.com/au

DateTime::Format::MySQL format_time incorrect

2023-07-05 Thread Marcel Versteeg
The DateTime::Format::MySQL formats microseconds incorrectly in the method format_time. It simply concatenates the number of microseconds after the formatted hms, however this is incorrect when the number of microseconds is less than 100,000. If a date object returns 12,345 microseconds at 5 am