mirror of
https://github.com/google/pebble.git
synced 2025-11-18 21:40:57 -05:00
spelling: previous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -501,7 +501,7 @@ void activity_sessions_prv_get_sleep_bounds_utc(time_t now_utc, time_t *enter_ut
|
|||||||
int first_sleep_utc;
|
int first_sleep_utc;
|
||||||
if (minute_of_day < ACTIVITY_LAST_SLEEP_MINUTE_OF_DAY) {
|
if (minute_of_day < ACTIVITY_LAST_SLEEP_MINUTE_OF_DAY) {
|
||||||
// It is before the ACTIVITY_LAST_SLEEP_MINUTE_OF_DAY (currently 9pm) cutoff, so use
|
// It is before the ACTIVITY_LAST_SLEEP_MINUTE_OF_DAY (currently 9pm) cutoff, so use
|
||||||
// the previou day's cutoff
|
// the previous day's cutoff
|
||||||
first_sleep_utc = start_of_today_utc - (SECONDS_PER_DAY - last_sleep_second_of_day);
|
first_sleep_utc = start_of_today_utc - (SECONDS_PER_DAY - last_sleep_second_of_day);
|
||||||
} else {
|
} else {
|
||||||
// It is after 9pm, so use the 9pm cutoff
|
// It is after 9pm, so use the 9pm cutoff
|
||||||
|
|||||||
Reference in New Issue
Block a user