Re: New Module - DateTime::NaturalLanguage
[email protected] ("Luke Hutscal")
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
I am not quite sure that I explained my module very clearly - it doesn't really do anything with DateTime objects in particular - it just converts different second values into more "natural" phrases - so passing in a number like 3612 seconds might return something like "24 hours, 12 seconds" - but all it does it convert a set number of seconds into a natural phrase. On Jan 11, 2008 2:32 AM, Steven Schubiger <[email protected]> wrote: > Robert Krimen <[email protected]> wrote: > > I'm not sure if it handles durations, though. > > For some definition of 'duration', yes. > > It handles basic stuff such as > > - monday to friday > - 1998 to 2008 > > by returning two DateTime objects. > > Steven Schubiger >