[Purdue-pm] Fix to Beats.pm, as if it matters

Dave Jacoby jacoby at purdue.edu
Tue Mar 19 12:23:07 PDT 2013


DateTime->now() defaults to UTC, so time_in_beats() would have to use 
DateTime->now( time_zone => 'America/New_York' ) , except that would 
hard-code it to Eastern US use.

So, I suppose the solution is to not have a "use now" option, and 
perhaps to have it be an output of a DateTime object. Presumably, that's 
what DateTime::Format::IBeat was, but CPAN won't install it.

[1] 
http://search.cpan.org/dist/DateTime-Format-IBeat/lib/DateTime/Format/IBeat.pm

-- 
Dave Jacoby
     Code Maker, Purdue Genomics Core Lab
     http://web.ics.purdue.edu/~djacoby
         384 days until the end of XP support



More information about the Purdue-pm mailing list