From: Claes W. <kl...@hy...> - 2002-10-18 07:35:37
|
On Thu, Oct 17, 2002 at 04:34:49PM -0700, Erik Pearson wrote: > > Right now access log timestamp entries can look like this: > > 17/Oct/2002:23:5:1 GMT > > where the hour, minute, and second field can have a width > of 1 or 2 digits. I was just surprised when one of my scripts > returned fewer rows since it was looking for a regex like > hh:mm:ss. > > Should yaws_log:fmtnow() be changed using ~2..0w for > hour, minute, and second? > Absoluteley, thanks, I checked in the fix > Don't necessarily know if month and date should be zero > padded. > hmmm /klacke -- Claes Wikstrom -- Caps lock is nowhere and http://www.hyber.org -- everything is under control |