summaryrefslogtreecommitdiff
path: root/django/utils/datetime_safe.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 13:12:09 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 13:12:09 -0700
commit7548aa8ffd46eb6e0f73730d1b2eb515ba581f95 (patch)
tree963393779f4c8c33351ea605f708f8da7d9f70bf /django/utils/datetime_safe.py
parent65c4ac3b2434d1828cb76c9f4454fe64e81354ee (diff)
More attacking E302 violators
Diffstat (limited to 'django/utils/datetime_safe.py')
-rw-r--r--django/utils/datetime_safe.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/utils/datetime_safe.py b/django/utils/datetime_safe.py
index 286b5f127b..6aa32f30bf 100644
--- a/django/utils/datetime_safe.py
+++ b/django/utils/datetime_safe.py
@@ -11,10 +11,12 @@ from datetime import date as real_date, datetime as real_datetime
import re
import time
+
class date(real_date):
def strftime(self, fmt):
return strftime(self, fmt)
+
class datetime(real_datetime):
def strftime(self, fmt):
return strftime(self, fmt)