Branch: Tag:

2011-09-23

2011-09-23 10:55:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar.Timezone: Update to survive Morocco 2011-07-31.

Similar fix to the one in mkrules.pike.

531:    case 5:    dayrule=think_day(a[0],a[1]);    comment=a[0]+" "+a[1]; -  [time,timetype]=parse_tod(a[2]); +  // NB: The Morocco rule for 2011-07-31 has 0 as AT, +  // while all others have 0:00. +  [time,timetype] = parse_tod(a[2]) || ({ 0, "" });    switch (timetype)    {    case "": timetype="w"; break;