Confusing remark in clock man-page
Closed / Fixed1582951fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-10-23 15:11:06
In the clock man page it is stated that: Daylight savings time correction is applied only when the relative time is specified in units of days or more, i.e. days, weeks, fortnights, months or years. This means that when crossing the daylight savings time boundary, different results will be given for clock scan "1 day" and clock scan "24 hours": With the new [clock scan] behaviour in 8.5, the result for [clock scan "1 day"] and [clock scan "24 hours"] will usually be different regardless of the DST situation, because [clock scan "1 day"] will default to midnight if no relative of absolute time is given. () 1 % clock format [clock scan "1 day"] Tue Oct 24 00:00:00 CEST 2006 () 2 % clock format [clock scan "24 hours"] Tue Oct 24 17:08:38 CEST 2006 () 3 % This also means that the example given in the man page is not valid for 8.5 anymore. Because of the new semantics on [clock scan "1 day"] there can never be any DST confusion anymore, so it seems the whole phrase + example can be removed.
dkf Ticket [1582951fff]: 2 changes
[History diff]2006-10-24 04:30:35
kennykbplain2007-04-20 10:09:27
Logged In: YES user_id=99768 Originator: NO You know, I'm not at all certain that remark ever *was* true. I've removed it.
kennykb Closed ticket [1582951fff].
[History diff]2007-04-20 10:09:28
Log in (anonymous is fine) to add a comment.