Skip Menu |

This queue is for tickets about the DateTime-Format-Natural CPAN distribution.

Report information
The Basics
Id: 53976
Status: resolved
Priority: 0/
Queue: DateTime-Format-Natural

People
Owner: Nobody in particular
Requestors: kev [...] brantaero.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.83
Fixed in: (no value)



Subject: short name aliases
First off, excellent module. I'm using this over AJAX to replace DateJS. It would be handy for every-day usage if DTFN could parse shorthand, like: '5 mins ago' '-5min' '2 days from now' '+2d' The +/- thing would be cool but the short forms would be the most useful. Perhaps all this could be bundled up in a 'loose mode' that does not complain "(plural without suffix 's')". I think the only problem with this would be the ambiguity of 'm'. But that could just be left out so that you need to type 'mo', 'min', or even 'ms'.
From: kev [...] brantaero.com
Other short forms that would be nice: '@' = 'at' 'thurs' = 'thu' 'tues' = 'tue'
Addressed in v0.83_03.