New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strptime() missing from POSIX #12540
Comments
From @maukeCreated by @maukeThe POSIX module provides access to strftime(), but its inverse strptime() is Perl Info
|
From @doyOn Fri, Nov 09, 2012 at 09:06:34AM -0800, l.mai@web.de wrote:
Why is this a bug? -doy |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Fri Nov 09 12:09:47 2012, doy@tozt.net wrote:
I, too, don't think this is a bug, nor do I think it is a feature which 'man 3 strptime' says this function's purpose is to "convert a string %tm = strptime("2001-11-12 18:31:01"); Naah. Thank you very much. |
From @ikegamiOn Fri, Nov 9, 2012 at 7:34 PM, James E Keenan via RT <
Specifically, DateTime::Format::Strptime |
From @LeontOn Fri, Nov 9, 2012 at 6:06 PM, l.mai@web.de <perlbug-followup@perl.org> wrote:
POSIX defines more than a 1000 functions, I think less than 200 are Leon |
From @ikegamiI have closed this ticket: Not a bug. |
From [Unknown Contact. See original ticket]I have closed this ticket: Not a bug. |
@ikegami - Status changed from 'open' to 'rejected' |
From @leonerdOn Fri, Nov 09, 2012 at 04:34:50PM -0800, James E Keenan via RT wrote:
I've written one. For core's POSIX.xs It's complete. It has tests. It has documentation. It has everything I got into stupid arguments about non-issues on p5p@ before about trying If you want this included (and I really do) please can we reopen a Thanks, -- leonerd@leonerd.org.uk |
From @leonerdOn Sun, Nov 11, 2012 at 08:36:34AM +0100, Dr.Ruud wrote:
Time::Piece's version suffers a number of problems. 1) It can't preserve partial fields (e.g. sec/min/hour) while parsing 2) It can't extract a partial match from a string yielding the end of The version I proposed for core's POSIX.xs solves both of these. -- leonerd@leonerd.org.uk |
@ikegami - Status changed from 'rejected' to 'open' |
From @smpetersOn Thu, Nov 15, 2012 at 5:39 AM, Paul LeoNerd Evans
Umm.... struct tm *gmtime(const time_t *timep); struct tm *localtime(const time_t *timep); If a POSIX::strptime is implemented, it should be returning an array I've written one. For core's POSIX.xs
I, for one, would like to see the code, and really do not see a compelling Steve |
Migrated from rt.perl.org#115654 (status was 'open')
Searchable as RT115654$
The text was updated successfully, but these errors were encountered: