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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Language.pmod:721:    "Quintilis", // Iulius    "Sextilis", // Augustus    "September", "October", "November", "December"    });       string year_name_from_number(int y)    {    return sprintf("%s ab urbe condita",roman_number(y+752));    }    +  int year_number_from_name(string name) +  { +  int y; +  sscanf(name,"%d",y); +  return y-752; +  } +     string month_day_name_from_number(int d,int mnd)    {   // this is not really correct, I've seen but   // i can't find it - they did something like 4 from the start of the   // months, 19 from the end of the month.    return roman_number(d);    }   }