dialogs/ForceVariableDialog.py
changeset 941 b6e93549de2e
parent 878 37256069baed
child 1571 486f94a8032c
--- a/dialogs/ForceVariableDialog.py	Sun Feb 24 00:28:49 2013 +0100
+++ b/dialogs/ForceVariableDialog.py	Tue Feb 26 01:14:20 2013 +0100
@@ -109,7 +109,7 @@
     if result is not None:
         year, month, day, hours, minutes, seconds = result.groups()
         try:
-            date = datetime.datetime(int(year), int(month), int(day), int(hours), int(minutes), int(float(seconds)), int((float(second) * SECOND) % SECOND))
+            date = datetime.datetime(int(year), int(month), int(day), int(hours), int(minutes), int(float(seconds)), int((float(seconds) * SECOND) % SECOND))
         except ValueError, e:
             return None
         base_date = datetime.datetime(1970, 1, 1)