Branch: Tag:

2007-05-06

2007-05-06 13:43:52 by Martin Bähr <mbaehr@email.archlab.tuwien.ac.at>

revert change to format_http and provide format_ext_time_short instead

Rev: lib/modules/Calendar.pmod/Time.pmod:1.38
Rev: lib/modules/Calendar.pmod/YMD.pike:1.21

426:       return    sprintf("%s, %02d %s %04d 00:00:00 GMT", +  ("SunMonTueWedThuFriSat"/3)[compat_week_day(wd)], +  md, +  ("zzzJanFebMarAprMayJunJulAugSepOctNovDec"/3)[m], +  ((yd < 1)?y-1:y)); +  } +  +  string format_ext_time_short() +  { +  if (wd==CALUNKNOWN) make_week(); +  if (md==CALUNKNOWN) make_month(); +  +  return +  sprintf("%s, %02d %s %04d 00:00:00 GMT",    week_day_shortname(),    month_day(),month_shortname(),year_no());    }