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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/YMD.pmod:2517:    if (zonename[0]=='"') sscanf(zonename,"\"%s\"",zonename);    sscanf(zonename,"%*[ \t]%s",zonename);       // Ugly fix for synonyms. This suppport should of course be    // added in a lower layer when the next refactoring occurs.    zonename = ([ "MEST":"CET", "MESZ":"CET" ])[zonename] || zonename;       if (origin->rules->abbr2zone[zonename])    zonename=origin->rules->abbr2zone[zonename];    -  Ruleset.Timezone zone=Timezone[zonename]; +  Rule.Timezone zone=Timezone[zonename];    if (!zone)    {    if (sscanf(zonename,"%[^-+]%s",string a,string b)==2 && a!="" && b!="")    {    TimeRange tr=dwim_zone(origin,a,whut,@args);    if (!tr) return 0;       return    dwim_tod(origin->set_timezone(    Timezone.make_new_timezone(