unlocalize template filter not consistent with "localize off" for datetimes

2017-08-28 Thread Beda Kosata
Hello, according to the documentation, using {% localize off %} should be equivalent to {{ variable|unlocalize }}. However, for datetimes the former formats the variable according to DATETIME_FORMAT setting, while the latter does not and uses some default ISO based formatting. I observe this f

Re: unlocalize template filter not consistent with "localize off" for datetimes

2017-08-29 Thread Beda Kosata
Great, thanks. Submitted as https://code.djangoproject.com/ticket/28544#ticket On Monday, August 28, 2017 at 8:28:40 PM UTC+2, claudep wrote: > > Yes the issue seems legitimate. Please open a report. > https://code.djangoproject.com/newticket > > Claude > > Le 28. 08. 17