Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2023-09-20
23:29 • Ticket [3600111fff] No GMT till late 1971 status still Open with 7 other cha... artifact: edd22cbb31 user: chrstphrchvz
2006-07-31
10:31 • Ticket [1426279fff] wrong formatting of time long ago status still Closed wi... artifact: ad144af826 user: kennykb
10:31 • Closed ticket [1426279fff]. artifact: e8cfc2d84b user: kennykb
10:31 • Ticket [1426279fff]: 4 changes artifact: e7b7365364 user: kennykb
2006-02-07
23:39 • Ticket [1426279fff]: 4 changes artifact: 8f7ff1465e user: dkf
16:35 • New ticket [1426279fff]. artifact: 8360cdeba7 user: dkf

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.