diff --git a/lib/main.dart b/lib/main.dart index 0bb6c77..a3e7ff0 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -23,7 +23,7 @@ import 'widgets/widgets.dart'; /// Studio's own build version. Bump on every UI commit so the /// running app self-identifies — visible in the sidebar header /// and quick-glance proof that you're seeing the current build. -const String kStudioVersion = '0.14.1'; +const String kStudioVersion = '0.14.2'; Future main() async { WidgetsFlutterBinding.ensureInitialized(); diff --git a/lib/pages/audit.dart b/lib/pages/audit.dart index dd3ba1a..5fab3bd 100644 --- a/lib/pages/audit.dart +++ b/lib/pages/audit.dart @@ -143,9 +143,11 @@ class _AuditPageState extends State { local.month == now.month && local.day == now.day; if (sameDay) return time; + // Older events always carry the full ISO date. `MM-dd` + // alone is locale-ambiguous (US reads it as May-04, EU as + // 5 April) — operators should not have to guess. final mo = local.month.toString().padLeft(2, '0'); final dd = local.day.toString().padLeft(2, '0'); - if (local.year == now.year) return '$mo-$dd $time'; return '${local.year}-$mo-$dd $time'; } diff --git a/pubspec.yaml b/pubspec.yaml index 2f43a59..0822910 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fai_studio description: "F∆I Studio — desktop GUI for the F∆I hub" publish_to: 'none' -version: 0.14.1 +version: 0.14.2 environment: sdk: ^3.11.0-200.1.beta