mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-02 04:39:59 -07:00
kinda parser refactor. datetime format added
This commit is contained in:
@@ -89,6 +89,7 @@ static bool itso_parse(const NfcDevice* device, FuriString* parsed_data) {
|
||||
|
||||
DateTime timestamp = {0};
|
||||
datetime_timestamp_to_datetime(unixTimestamp, ×tamp);
|
||||
|
||||
FuriString* timestamp_str = furi_string_alloc();
|
||||
locale_format_date(timestamp_str, ×tamp, locale_get_date_format(), "-");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user