Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

boulder-oracle-sprint: Fixed oracle get_datetime_cast_sql for microse…

…cond precision.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 74e29250427c7e6f901ffdbb721f69516ba2f3f0 1 parent d541f7a
Boulder Sprinters authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/oracle/
2  django/db/backends/oracle/
@@ -145,7 +145,7 @@ def get_date_trunc_sql(lookup_type, field_name):
return sql
def get_datetime_cast_sql():
- return "TO_TIMESTAMP(%s, 'YYYY-MM-DD HH24:MI:SS')"
+ return "TO_TIMESTAMP(%s, 'YYYY-MM-DD HH24:MI:SS.FF')"
def get_limit_offset_sql(limit, offset=None):
# Limits and offset are too complicated to be handled here.
Please sign in to comment.
Something went wrong with that request. Please try again.