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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/YMD.pmod:2723:   Calendar.dwim_day("3/20" );   Calendar.dwim_day("march 20");   Calendar.dwim_day("mon w12 -00" );   Calendar.dwim_day("1 w12 2000");   Calendar.dwim_day("mon w12");   Calendar.dwim_day("monday" );   Calendar.dwim_day("1");   Calendar.dwim_day("today");   Calendar.dwim_day("last monday");   Calendar.dwim_day("next monday"); + Calendar.dwim_day("Sat Jun 2");      */      static constant dwim_day_strings=   ({    "%y-%M-%D (%*s) -W%W-%e (%e)",    "%y-%M-%D",    "%M/%D/%y",    "%D%*[ /]%M%*[- /,]%y",    "%M %D%*[- /,]%y",
pike.git/lib/modules/Calendar.pmod/YMD.pmod:2744:    "%e%*[, ]%M%*[ ,]%D%*[ ,]%y",    "-%y%*[ /]%D%*[ /]%M",    "-%y%*[ /]%M%*[ /]%D",    "%y%*[ /]%M%*[ /]%D",    "%y%*[ /]%D%*[ /]%M",    "%D.%M.%y",    "%D%*[- /]%M",    "%M%*[- /]%D",    "%M-%D-%y",    "%D-%M-%y", +  "%e%*[- /]%M%*[- /]%D",    "%e%*[- /wv]%W%*[ -/]%y",    "%e%*[- /wv]%W",    "%d"   });      cDay dwim_day(string day,void|TimeRange context)   {    cDay d;       foreach ( dwim_day_strings,