preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

Could not parse date gives no help as to where #466

Closed preaction closed 8 years ago

preaction commented 8 years ago

If we fail to parse a date, the user should be presented with a path as to where the bad date is. Right now, all they get is Could not parse date '2013-05-20 14:01'. Does not match 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' at /Users/doug/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Statocles/Store.pm line 168.

It also should not put the module and line number there.