The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.04

  • fixed the test failure on sun4-solaris (and probably others) The problem was a bug (IMO) in strptime on Solaris: if you didn't scan the month-day in the date, it filled the struct tm with 0, which causes mktime to go back to the previous month.
  • the constructors now wrap Time::Piece calls in eval so they won't die when you pass invalid dates from MySQL. Your application should vaidate dates before storing them in MySQL, but (like me) you may have to process data that some less careful programmer has left for you.

Modules

Adds MySQL-specific methods to Time::Piece

Provides

in lib/Time/Piece/MySQL.pm