[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
date to string mismatch for #\x
- To: srfi-19@xxxxxxxxxxxxxxxxx
- Subject: date to string mismatch for #\x
- From: "Marco Maggi" <mrc.mgg@xxxxxxxxx>
- Date: Wed, 7 Jan 2009 21:42:23 +0100
- Delivered-to: srfi-19@xxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Sv17a2nQB0vNAybnFO6JLdYn30HgCEj1i50QAUQGJMU=; b=epdESIED6H6BPE6F1SsgBvQrYNogHi9ESddewlMW5ozj6/sgV0xdqxVwDzZF+xMIIH KRDGoJk3P34YmTlci79h3AR9Ijw0+V09JM889y4Om+brQgl+IcPcaP1AKtid85D0G8Hp v65K37S0SaMiKmPVKRTCfDZc6VfXtHwSfJucE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dzLnsntR4hL8Tq+yjQmgfJ8CqjxUtCbBYHW5fCFoVg5zk+s84K/DouqyybFVIFj18t /mCeebTJxVJ5JMrpFAn1h+lEfwtTEgGND3rIUJP86oWLg+73TEgOZDXEcy2dF38xKVI4 x0UhgI2sNtHwLHdgkmgDidiriPsVJX1QK34lI=
The SRFI document says:
|~x
week number of year with Monday as first day of week (00...53)
but the reference implementation does:
(cons #\x (lambda (date pad-with port)
(display (date->string date tm:locale-short-date-format) port)))
it is probably a copy and paste error while composing
the document. What the implementation does looks
like what "strftime()" or GNU date do, which almost
all the other escape sequences conform to.
--
Do, or do not. There is no 'try'.
Jedi Master Yoda