From e7cc55c708f65af0f8205f57338f5351c188123a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20K=C5=82os?= Date: Thu, 2 Mar 2023 16:36:03 +0100 Subject: [PATCH] fix: typo in month abbreviation (#370) Co-authored-by: GroovinChip --- CHANGELOG.md | 3 +++ example/pubspec.lock | 2 +- lib/src/utils.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a058f72c..a944e6cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [1.12.1+1] +* Fixed a typo in the December abbreviation displayed in the `MacosDatePicker`. + ## [1.12.1] * Fix SidebarItem's leading icons not respecting the theme's primary color diff --git a/example/pubspec.lock b/example/pubspec.lock index 445025e6..06d01493 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -97,7 +97,7 @@ packages: path: ".." relative: true source: path - version: "1.12.1" + version: "1.12.1+1" matcher: dependency: transitive description: diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 99e19aef..08f2debc 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -82,7 +82,7 @@ String intToMonthAbbr(int month) { case 11: return 'Nov'; case 12: - return 'Dev'; + return 'Dec'; default: throw Exception('Unsupported value'); } diff --git a/pubspec.yaml b/pubspec.yaml index f570970a..2971ef05 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: macos_ui description: Flutter widgets and themes implementing the current macOS design language. -version: 1.12.1 +version: 1.12.1+1 homepage: "https://macosui.dev" repository: "https://github.com/GroovinChip/macos_ui"