kinda parser refactor. datetime format added

This commit is contained in:
Methodius
2024-02-16 17:20:06 +09:00
parent ae160efa16
commit b6a6528526
7 changed files with 134 additions and 136 deletions

View File

@@ -89,6 +89,7 @@ static bool itso_parse(const NfcDevice* device, FuriString* parsed_data) {
DateTime timestamp = {0};
datetime_timestamp_to_datetime(unixTimestamp, &timestamp);
FuriString* timestamp_str = furi_string_alloc();
locale_format_date(timestamp_str, &timestamp, locale_get_date_format(), "-");