Skip Menu |

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

Report information
The Basics
Id: 113979
Status: open
Priority: 0/
Queue: Time-Piece

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

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



Subject: Function to convert to gmtime and localtime
Functions to convert to gmtime and to localtime would be a useful addition to the module. sub to_gmtime { gmtime( $_[0]->epoch ) } sub to_localtime { localtime( $_[0]->epoch ) }
Subject: Re: [rt.cpan.org #113979] Function to convert to gmtime and localtime
Date: Mon, 25 Apr 2016 13:15:21 -0500
To: bug-Time-Piece [...] rt.cpan.org
From: Samuel Smith <leon36 [...] gmail.com>
On 04/25/2016 12:34 PM, ikegami via RT wrote: Show quoted text
> Mon Apr 25 13:34:37 2016: Request 113979 was acted upon. > Transaction: Ticket created by ikegami > Queue: Time-Piece > Subject: Function to convert to gmtime and localtime > Broken in: (no value) > Severity: Wishlist > Owner: Nobody > Requestors: IKEGAMI@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113979 > > > > Functions to convert to gmtime and to localtime would be a useful addition to the module. > > sub to_gmtime { gmtime( $_[0]->epoch ) } > sub to_localtime { localtime( $_[0]->epoch ) } >
Not a bad idea. I'll look over it and try to add it within the next week or two. Regards, Samuel Smith