Branch: Tag:

2007-05-06

2007-05-06 14:26:08 by Martin Bähr <mbaehr@email.archlab.tuwien.ac.at>

stupid programmer error.
thought i could be smart and avoid that not so nice looking replace.
made format_ext_time_short look nicer by removing leading 0s too.

Rev: lib/modules/Calendar.pmod/Time.pmod:1.40
Rev: lib/modules/Calendar.pmod/YMD.pike:1.22

851:       string format_ext_time_short()    { -  if (wd==CALUNKNOWN) make_week(); -  if (md==CALUNKNOWN) make_month(); -  -  return -  sprintf("%s, %02d %s %04d %s", -  week_day_shortname(), -  month_day(),month_shortname(),year_no(),format_todz()); +  if (!base) make_base(); +  return replace(base->format_ext_time_short(), +  "00:00:00 GMT",format_todz());    }       string format_commonlog()