You're right, the date logic was incorrect. I've updated it to use DateTime 
strftime and eliminated the use of Date::Format. See changes in

    https://github.com/jonswar/perl-poet/tree/master/eg/blog/comps/article

Thanks
Jon

On May 6, 2012, at 6:44 PM, sono...@fannullone.us wrote:

> On May 6, 2012, at 4:09 PM, Pat McNamee wrote:
> 
>> Everything seems to work fine except that the date displayed for each 
>> article I add is:
>> 
>> Wednesday, December 31, 1969 06:33 PM
> 
>       I didn't notice it before, but I have the same situation, only my time 
> is 4:33PM.  Perhaps we're in different time zones?
> 
>       The timestamp being saved to the SQLite db looks like this: 2012-05-06 
> 23:57:28.000000000, which looks fine to me except those 9 zeros.  Perhaps 
> they're confusing the script and making it think it's Jan.1, 1970?  Then, 
> depending on your timezone, it's showing up as the date you see, December 31, 
> 1969.  However, this is just a guess on my part.
> 
> Marc
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to