Skip to content
Tcl Source Code View Ticket
Login

View Ticket

wrong formatting of time long ago

Closed / Fixed1426279fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2006-02-07 16:35:34
With the HEAD:

% clock format -100000000000
Thu Jan -309 15:13:20 BST 1199

I'm not aware of any epoch when January had -309 days
in it... :-)
dkfplain2006-02-07 23:39:08
Logged In: YES 
user_id=79902

Also, the timezone is wrong (BST doesn't apply in winter
months, even assuming they had it back then) in the following:

% clock format -10000000000
Mon Feb 10 07:13:20 BST 1653
kennykbplain2006-07-31 10:31:00
Logged In: YES 
user_id=99768

Donal, you needn't be supercilious about it. :)

Needless to say, there were a few bugs in handling
dates before Year 1 of the Common Era. (And there are
likely more, and do you think I want to hear about them?)

The fix adds a new format group %EE to represent whether
or not the date is in the Common Era.  Documentation and
tests updated accordingly.
kennykb Closed ticket [1426279fff]. [History diff]2006-07-31 10:31:26
kennykb Ticket [1426279fff]: 3 changes [History diff]2006-07-31 10:31:27
Log in (anonymous is fine) to add a comment.