pike.git / lib / modules / Calendar.pmod / Timezone.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Timezone.pmod:524:    string s;    string comment;       void create(array a)    {    switch (sizeof(a))    {    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;    case "s": case "u": case "w": break;    default: complain("unknown time of day type %O\n",timetype);    }    offset=parse_offset(a[3]);    s=(a[4]=="-")?"":a[4];    break;    case 6: