#357 closed Defect (fixed)
Advanced Preferences can't handle "24:00"
Reported by: | Didactylos | Owned by: | Didactylos |
---|---|---|---|
Priority: | Minor | Milestone: | Undetermined |
Component: | Manager | Version: | |
Keywords: | manager advanced-preferences | Cc: |
Description (last modified by )
Advanced Preferences can't handle the value "24:00". Neither can the simple prefs, but that doesn't matter since "Never" isn't a useful value unless you can override it with the per-day settings.
(This is almost-but-not-quite a duplicate of #300)
But this is just another bug in the advanced preferences. If it were my call, I'd bump the entire advanced preferences dialog to 6.0.
Change History (9)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 18 years ago by
Replying to Didactylos:
Advanced Preferences can't handle the value "24:00".
If you mean in the time slots, then that's normal, isn't it? Digital clocks don't show that it is 24:00 either at midnight. It changes from 23:59 to 0:00.
So the entries go from 0:00 to 23:59.
comment:3 Changed 18 years ago by
Replying to Ageless: Almost correct. Midnight is 00:00 and 24:00 - although since clocks can't display two values at once, nearly all of them show 00:00. But BOINC treats 24:00 as exactly what it represents; midnight at the end of the day. As you can see, using this value is the only way to specify that BOINC never compute or connect. Here's the actual code:
if (start==end) return false; if (start==0 && end==24) return false; if (start==24 && end==0) return true; if (start < end) { return (hour < start || hour > end); } else { return (hour >= end && hour < start); }
comment:6 Changed 17 years ago by
Keywords: | advanced-preferences added; advanced_preferences removed |
---|---|
Owner: | changed from romw to Didactylos |
Status: | new → assigned |
Combined #300 with this ticket.
comment:7 Changed 16 years ago by
Milestone: | 6.6 → Undetermined |
---|
comment:8 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Just a sidenote: you can link to the advanced_preferences tag to see all the related tickets.