[LRUG] How does Rails decide how to parse ambiguous dates?

Paul Robinson paul at 32moves.com
Tue Jul 26 04:21:28 PDT 2011


On 26 Jul 2011, at 11:59, Jordi Noguera Leon wrote:

> Why don't you use strptime?
> 
> http://www.ruby-doc.org/stdlib/libdoc/date/rdoc/classes/Date.html#M000357


Might be slightly cleaner syntactically, yes. Achieves the same thing.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20110726/42a3b8f6/attachment-0003.html>


More information about the Chat mailing list