After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778459 - color: Fix Night Light default start and end times
color: Fix Night Light default start and end times
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: color
unspecified
Other All
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-10 17:45 UTC by Jeremy Bicha
Modified: 2017-02-13 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
color: Fix Night Light default start and end times (1.43 KB, patch)
2017-02-10 17:45 UTC, Jeremy Bicha
committed Details | Review

Description Jeremy Bicha 2017-02-10 17:45:27 UTC
This looks like a typo since the numbers are backwards from what I expect:
6 pm to 6 am
Comment 1 Jeremy Bicha 2017-02-10 17:45:31 UTC
Created attachment 345469 [details] [review]
color: Fix Night Light default start and end times
Comment 2 Richard Hughes 2017-02-13 10:10:26 UTC
Well, I actually put those numbers in to match what I see right now. What is the default manual settings for other programs like redshift/flux?
Comment 3 Jeremy Bicha 2017-02-13 11:06:50 UTC
I couldn't find source code for f.lux.

For Android, the manual default is from 10 pm to 6 am.

https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml#787

The manual default for redshift is the coordinates for Newark, New Jersey, US. On the Spring Equinox there, sunset is 7:10 pm, sunrise is 6:58 am.

https://github.com/jonls/redshift/blob/master/redshift.conf.sample#L39
https://www.google.com/search?q=newark%2C+new+jersey+sunrise+march+21

I don't know if redshift is using sunrise and sunset times.

If we used "astronomical twilight", we get 8:42 pm and 5:26 am.
https://www.timeanddate.com/sun/usa/newark?month=3&year=2017

I proposed 6 pm and 6 am, assuming solar noon would be 12:00 (it's actually about 1:00 pm in Newark).
Comment 4 Allan Day 2017-02-13 12:37:43 UTC
What Jeremy's suggesting sounds about right to me. I'd maybe start a bit later in the evening (8pm, say), but that's a detail.
Comment 5 Richard Hughes 2017-02-13 12:42:11 UTC
Okay, with 8pm please push to master. Thanks!