Skip Menu |

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

Report information
The Basics
Id: 98706
Status: new
Priority: 0/
Queue: DateTime-Format-HTTP

People
Owner: Nobody in particular
Requestors: th.j.v.hoesel [...] gmail.com
Cc:
AdminCc:

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



Subject: Documentation is misleading
Date: Mon, 8 Sep 2014 21:44:45 +0200
To: bug-DateTime-Format-HTTP [...] rt.cpan.org
From: "Th. J. van Hoesel" <th.j.v.hoesel [...] gmail.com>
Hey guys, would you please update the documentation, for it does lead me astray, where as it is exactly doing what I supposed it would do…. it says: The parse_datetime() function converts a string to machine time. But it definitely returns a DateTime object. I spent quite some time (before trying) on how to go from ‘machine time’ to a DateTime object, if there were some convenient methods or should I have used DateTime->from_epoch. Couldn’t find the answer in the documentation or on StackOverflow, so I started trying… It worked! using DDP it even told me it was indeed a DateTime object… Grrr…. Could have saved me lots of time. Please change it into: The parse_datetime() function converts a string to a DateTime object.