develooper Front page | perl.datetime | Postings from January 2006

Re: Refactoring of Format::Pg->parse_duration()

Thread Previous
From:
Daisuke Maki
Date:
January 6, 2006 16:49
Subject:
Re: Refactoring of Format::Pg->parse_duration()
Message ID:
43BF1023.1090505@wafu.ne.jp

> I've refactored the parse_duration() method of DateTime::Format::Pg  so 
> that it's much simpler, and a single Regex supports both ISO and  
> Postgres-default duration formats. I added a whole slew of tests  
> extracted from the PostgreSQL tests, too. Patch attached.

applied and committed.
I'll release 0.10 shortly.

--d

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About