another bugfix

This commit is contained in:
Araq 2012-06-21 19:20:45 +02:00
commit 26b64f9e4f
4 changed files with 2 additions and 5 deletions

View file

@ -317,8 +317,6 @@ when not defined(ECMAScript):
result.weekday = weekDays[int(tm.weekDay)]
result.yearday = int(tm.yearday)
result.isDST = tm.isDST > 0
#result.tzname = if local: getTzname()[if result.isDST: 0 else: 1] else: "UTC"
# TODO: ^^^ Crashes the compiler.
if local:
if result.isDST:
result.tzname = getTzname()[0]