Commit f516b0da authored by Andreas Jung's avatar Andreas Jung

removed dead code

parent 7fceae6b
...@@ -84,13 +84,13 @@ ...@@ -84,13 +84,13 @@
############################################################################## ##############################################################################
"""Encapsulation of date/time values""" """Encapsulation of date/time values"""
__version__='$Revision: 1.69 $'[11:-2] __version__='$Revision: 1.70 $'[11:-2]
import re,sys, os, math, DateTimeZone import re,sys, os, math, DateTimeZone
from string import strip,split,upper,lower,atoi,atof,find,join from string import strip,split,upper,lower,atoi,atof,find,join
from time import time, gmtime, localtime, asctime from time import time, gmtime, localtime, asctime
from time import timezone, strftime, mktime from time import timezone, strftime
from time import daylight, timezone, altzone from time import daylight, timezone, altzone
from types import InstanceType,IntType,FloatType,StringType,UnicodeType from types import InstanceType,IntType,FloatType,StringType,UnicodeType
try: from time import tzname try: from time import tzname
...@@ -1658,9 +1658,6 @@ class DateTime: ...@@ -1658,9 +1658,6 @@ class DateTime:
hour_off = atoi(s[-6:-3]) hour_off = atoi(s[-6:-3])
min_off = atoi(s[-2:]) min_off = atoi(s[-2:])
ts = mktime((year,month,day,hour,minute,seconds,0,0,0))
ts = ts + (hour_off*60-min_off)
return year,month,day,hour,minute,seconds,'GMT%+03d%02d' % (hour_off,min_off) return year,month,day,hour,minute,seconds,'GMT%+03d%02d' % (hour_off,min_off)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment