#20292: Django 1.5.1: ORA-01843: not a valid month -------------------------------------+------------------------------------- Reporter: CarstenF | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: 1.5 (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: Oracle, cx_oracle, | Needs documentation: 0 unicode | Patch needs improvement: 0 Has patch: 0 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by mal): The query like {{{#!sql SELECT TO_DATE(TO_CHAR(x)) FROM (SELECT CAST('2013-06-24 18:15:10' AS NVARCHAR2(30)) AS X FROM DUAL); }}} seems to work. Would it be possible to use {{{to_date(to_char(to_nchar('date string')))}}} as a workaround in Django ORM? -- Ticket URL: <https://code.djangoproject.com/ticket/20292#comment:14> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.cc79445c4f5c287dd1fa98b3b537712c%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.