fixed bug with rule choice; dst was not being calculated correctly, Thanks Adelaide!

This commit is contained in:
aj
2010-11-04 04:28:23 -07:00
parent 7dd76519a0
commit f4a48f09cf
2 changed files with 11 additions and 10 deletions

View File

@@ -19,10 +19,11 @@ current(Now, Rules) ->
% newest first
sort(R1, R2) ->
T1= from_time(R1),
T2= from_time(R2),
ezic_date:compare_datetimes(T1, T2).
ezic_date:compare_datetimes(T2, T1).