moon-phase: fix display and quarter labels for southern hemisphere
GitHub Pages / gh-pages (push) Has been cancelled
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled

This commit is contained in:
sarasopodo
2026-04-22 02:41:04 -03:00
committed by root
parent 4bf508fa99
commit 209fe9ee42
@@ -75,6 +75,9 @@ static void _update(moon_phase_state_t *state) {
if (currentday > phase_changes[phase_index] && currentday <= phase_changes[phase_index + 1]) break;
}
movement_location_t loc = (movement_location_t) { .reg = watch_get_backup_data(1) };
bool southern = (loc.bit.latitude < 0);
sprintf(buf, "%2d", date_time.unit.day);
watch_display_text(WATCH_POSITION_TOP_RIGHT, buf);
switch (phase_index) {