Ah... That pesky Date on the front of it... That's what I was missing... Been awake for too many hours... Thanks!
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of hyperslug Sent: Friday, May 13, 2011 1:00 AM To: Google App Engine Subject: [google-appengine] Re: Party like it's 1970? auto_now_add=True Use a DateTimeProperty, or just ignore the date part if time is all you want. http://stackoverflow.com/q/3605971 On May 13, 3:56 am, "Brandon Wirtz" <[email protected]> wrote: > Yes. Python in production. I hadn't used this method prior, so I am > not sure if it is "new" "expected" or I did something stupid. > > From: [email protected] > [mailto:[email protected]] On Behalf Of Gopal Patel > Sent: Friday, May 13, 2011 12:47 AM > To: [email protected] > Subject: Re: [google-appengine] Party like it's 1970? > auto_now_add=True > > is it doing this on production ? > > On Fri, May 13, 2011 at 12:57 PM, Brandon Wirtz <[email protected]> wrote: > > This code > > storedate = db.TimeProperty(auto_now_add=True) > > is storing > > 1970-01-01 07:24:59.747331 > > In my data store. The Time looks right, but the date is Jan 1 1970. > > Am I doing something wrong? > > I mean my data wasn't stored a decade prior to my birth. Google is > good, but it isn't "that Good" > > -- > You received this message because you are subscribed to the Google > Groups "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] > <mailto:google-appengine%[email protected]> . > For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google > Groups "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
