2026-10-15 19:43:59 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// The local date and time, as far as the display needs it (from struct tm). Pure logic.
|
|
|
|
|
struct LocalTime
|
|
|
|
|
{
|
|
|
|
|
int year = 2000;
|
|
|
|
|
int month = 1; // 1-12
|
|
|
|
|
int day = 1; // 1-31
|
|
|
|
|
int weekday = 6; // 0 = Sunday
|
|
|
|
|
int hour = 0;
|
|
|
|
|
int minute = 0;
|
|
|
|
|
};
|