chore: fix Flutter baseline checks

This commit is contained in:
Artem Kokos
2026-04-22 21:08:02 +07:00
parent 8198ea09ae
commit ffc2ea1544
12 changed files with 68 additions and 54 deletions

View File

@@ -156,7 +156,7 @@ class _EventRow extends StatelessWidget {
if (iso.isEmpty) return '';
try {
final d = DateTime.parse(iso);
final pad = (int n) => n.toString().padLeft(2, '0');
String pad(int n) => n.toString().padLeft(2, '0');
return '${pad(d.day)}.${pad(d.month)} ${pad(d.hour)}:${pad(d.minute)}:${pad(d.second)}';
} catch (_) {
return iso;