Branch: Tag:

2008-05-14

2008-05-14 22:08:30 by Marcus Comstedt <marcus@mc.pp.se>

Moved "-" to end of timezone set, due to semantic change in sscanf.

Rev: lib/modules/Calendar.pmod/YMD.pike:1.31

2645:    Calendar.Rule.Timezone zone=Calendar.Timezone[zonename];    if (!zone)    { -  if (sscanf(zonename,"%[^-+]%s",string a,string b)==2 && a!="" && b!="") +  if (sscanf(zonename,"%[^+-]%s",string a,string b)==2 && a!="" && b!="")    {    TimeRange tr=dwim_zone(origin,a,whut,@args);    if (!tr) return 0;