Skip Menu |

This queue is for tickets about the Time-Fake CPAN distribution.

Report information
The Basics
Id: 32307
Status: new
Priority: 0/
Queue: Time-Fake

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Wish: accept also absolute dates in human writable form
It would be nice if Time::Fake also accepted absolute dates in a human writable form (e.g. some ISO8601 variant) instead of only being able to set it using epoch time. A common scenario would be the launch of something to be able to write tests for the moments before and after this date. I would propose to just use one of the possible ISO8601 variants, maybe the YYYYMMDDTHHMMSS form (with local timezone), and maybe also the UTC form YYYYMMDDTHHMMSSZ. Regards, Slaven