I need more than just $Id:$

ChristianLudloffuser.perforce.maillist at sandpile.org ChristianLudloffuser.perforce.maillist at sandpile.org
Mon Jun 15 11:14:07 PDT 1998


Hello Richard Brooksby,

>>> $Date$                @date           # yyyy/mm/dd
>> Anything wrong with ISO standard date format?
> See <URL: http://www.iso.ch/cate/d15903.html> and also the summary at <URL:
> http://www.ft.uni-erlangen.de/~mskuhn/iso-time.html>.
> 
> Basically, it's "YYYY-MM-DD" (all numeric).

In "p4 describe #" Perforce uses ie. yyyy/mm/dd.

> I agree that the last thing we need is yet another non-standard date format
> to parse.
> 
> See also <URL: http://www.saqqara.demon.co.uk/datefmt.htm> and <URL:
> http://www.mcs.vuw.ac.nz/technical/SGML/doc/iso8601/ISO8601.html>.

How about this?

$century$	@century	# 19
$year$		@year		# 98
$month$		@month		# 06
$day$		@day		# 15
$weekday$	@weekday	# Mon, maybe Monday?
$Date$		...		# combine the above as you like them

Now you might begin to understand why I vote for the flexible approach.

- --
Christian Ludloff      http://www.sandpile.org/   Interested in x86 chips?
ludloff at sandpile.org    ftp://ftp.sandpile.org/   Go and visit my website!

Speaking for myself.   Trademarks are property of their respective owners.





More information about the perforce-user mailing list