Branch: Tag:

2012-05-17

2012-05-17 16:33:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar.mkrules: Sort TZnames.abbr2zones to recent use first.

1360:    Zone z;    if (!(z = zones[s])) {    // Check if it's a known alias. -  // FIXME: Ought to select the most recent user of the abbreviation. +  // Note: TZnames.abbr2zones is sorted with +  // the most recent user first.    array(string) a = .TZnames.abbr2zones[s];    if (a && sizeof(a))    return zone_cache[s] = find_zone(a[0]);