1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

Fix clipper date timestamp

This commit is contained in:
Luu
2025-05-22 19:12:22 +02:00
committed by GitHub
parent 92ca0cf1a8
commit ff8c3540eb

View File

@@ -548,7 +548,7 @@ static void furi_string_cat_timestamp(
const char* time_hdr,
uint32_t tmst_1900) {
DateTime tm;
tmst_1900 -= 2208988800; // Clipper uses epoch from 1900, not 1970.
datetime_timestamp_to_datetime(tmst_1900, &tm);
FuriString* date_str = furi_string_alloc();