Re: Django DATETIME_FORMAT Localization

2011-05-31 Thread Kirill Spitsin
On Wed, May 25, 2011 at 10:46:30AM -0700, jrs_66 wrote: > How can I do something like strptime(request.POST["start-date"], > mycurrent_DATETIME_FORMAT)... There's got to be an undocumented way of > referencing the constant currently being used? I guess you need `django.utils.formats.date_format` f

Django DATETIME_FORMAT Localization

2011-05-25 Thread jrs_66
Hi, Despite the high likelihood that I'll be chewed out as an ignoramus who can't seem to read docs (I have... for about a day), I'm going to try to ask a seemingly basic question (without even posting my model;) I'm using the Django 1.2 enhanced localization feature to setup formatting constants