Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Invalid
-
all
-
None
Description
I was writing a program to parse the output of svn log and I needed to know whether the "hour" of the date was "0-23" or "1-24". I looked in the book: [chp 9 ref].[The subversion command line client].[svn subcommands].[svn log] hoping to find some detailed info on the output format but didn't find any. I started to look at the source code but quickly became lost. Finally I enlisted in the svn project and searched for dates that matched either hour 24 or 0. $ svn co http://svn.collab.net/repos/svn/trunk svn $ cd svn $ for f in subversion/clients/cmdline/* ; do svn log $f ; done > out $ grep ^r out | egrep ' (00|24):' r1430 | gstein | 2002-03-06 00:10:52 -0800 (Wed, 06 Mar 2002) | 39 lines r1055 | daniel | 2002-01-25 00:52:59 -0800 (Fri, 25 Jan 2002) | 44 lines r1055 | daniel | 2002-01-25 00:52:59 -0800 (Fri, 25 Jan 2002) | 44 lines ... etc ... Anyway, this wasn't that big of a deal (hence P5) but it would be nice if one of the examples listed in the svn log chapter showed at least one log entry for the hour past midnight.
Original issue reported by robertklee