Wrong hour format for RFC822 datetimes
Status: Beta
Brought to you by:
null_mind
The DateTag used to format pubdate uses 'kk' as format
for hours; these run from 01 to 24, though. If I post a
blog entry between 00:00 and 00:59, the time is
'24:xx:xx' and I rank first in an aggregator all day ...
I think DateTag.java needs the following change:
< public static final String RFC822_FORMAT = "EEE, dd
MMM yyyy kk:mm:ss z";
> public static final String RFC822_FORMAT = "EEE, dd
MMM yyyy HH:mm:ss z";
Matthias
matthias.ernst@coremedia.com