# HG changeset patch # User ymh # Date 1317293032 -7200 # Node ID a59dd2aed213f3bbd59a3e829e69e1b87deb76b6 # Parent ad9041b61da0f14528f8519dae1f3e7685cb7a56 change utc to utcnow diff -r ad9041b61da0 -r a59dd2aed213 .settings/org.eclipse.core.resources.prefs --- a/.settings/org.eclipse.core.resources.prefs Fri Aug 19 17:15:21 2011 +0200 +++ b/.settings/org.eclipse.core.resources.prefs Thu Sep 29 12:43:52 2011 +0200 @@ -1,6 +1,8 @@ -#Thu Aug 18 16:43:26 CEST 2011 +#Thu Aug 25 11:05:36 CEST 2011 eclipse.preferences.version=1 +encoding//src/ldt/ldt/core/migrations/0001_initial.py=utf-8 encoding//src/ldt/ldt/core/migrations/0002_auto__del_owner.py=utf-8 +encoding//src/ldt/ldt/ldt_utils/migrations/0001_initial.py=utf-8 encoding//src/ldt/ldt/ldt_utils/migrations/0002_auto__add_field_media_mimetype_field__chg_field_media_external_src_url.py=utf-8 encoding//src/ldt/ldt/ldt_utils/migrations/0003_auto__chg_field_project_owner.py=utf-8 encoding//src/ldt/ldt/user/migrations/0002_auto__del_irigroup.py=utf-8 diff -r ad9041b61da0 -r a59dd2aed213 .settings/org.eclipse.php.core.prefs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.settings/org.eclipse.php.core.prefs Thu Sep 29 12:43:52 2011 +0200 @@ -0,0 +1,3 @@ +#Sat Sep 24 15:42:33 CEST 2011 +eclipse.preferences.version=1 +include_path= diff -r ad9041b61da0 -r a59dd2aed213 src/ldt/ldt/user/models.py --- a/src/ldt/ldt/user/models.py Fri Aug 19 17:15:21 2011 +0200 +++ b/src/ldt/ldt/user/models.py Thu Sep 29 12:43:52 2011 +0200 @@ -17,7 +17,7 @@ class ldtManager(UserManager): def create_user(self, username, email, password=None): "Creates and saves a User with the given username, e-mail and password." - now = datetime.datetime.now() + now = datetime.datetime.utcnow() user = ldt(None, username, '', '', email.strip().lower(), 'placeholder', False, True, False, now, now) if password: user.set_password(password)