Re: strptime() working in python, but not within django?

2008-11-04 Thread Thomas Guettler
Hi, Maybe some LANG entries in os.environ are different. Or the datetime module is loaded from a different location. is datetime.__file__ equal? HTH, Thomas mpobrien schrieb: > I'm working on something that involves parsing out a date from a > string, so i'm using the datetime.strptime()

strptime() working in python, but not within django?

2008-11-03 Thread mpobrien
I'm working on something that involves parsing out a date from a string, so i'm using the datetime.strptime() function. I've noticed that this works correctly in python, but when i run it within a django environment it doesn't seem to work. Example, in python: [EMAIL PROTECTED]:~/projects/mu_tool