Branch: Tag:

2000-07-30

2000-07-30 09:10:10 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

dwim_second update

Rev: lib/modules/Calendar.pmod/YMD.pmod:1.2
Rev: lib/modules/Calendar.pmod/mkrules.pike:1.2

2523:    string zone )    foreach ( ({ "%t",    "%h:%*[ :]%m%*[ :]:%s", -  "%h:%*[ :]%m" }), +  "%h:%*[ :]%m", +  "T%t"}),    string todformat )    foreach ( ({ "%y-%M-%D (%*s) -W%W-%e (%e)",    "%D%*[ /]%M%*[- /,]%y",
2538:    "%D%*[- /]%M",    "%M%*[- /]%D",    "%e%*[- /wv]%W%*[ -/]%y", -  "%e%*[- /wv]%W" }), +  "%e%*[- /wv]%W", +  ""}),    string dayformat )    {    if ( (t=parse(dayformat+" "+todformat+zone,what)) ) return t;