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

Report information
The Basics
Id:
113979
Status:
open
Priority:
Low/Low
Queue:

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

BugTracker
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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.