Skip to content

Commit

Permalink
fix(region): set unique day/month/year values
Browse files Browse the repository at this point in the history
Closes #815
  • Loading branch information
mmstick committed Dec 12, 2024
1 parent a1436eb commit 85dcfc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cosmic-settings/src/pages/time/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ impl Page {

let dtf = DateTimeFormatter::try_new_experimental(&locale.into(), options).unwrap();

let datetime = DateTime::try_new_gregorian_datetime(2024, 1, 1, 12, 0, 0)
let datetime = DateTime::try_new_gregorian_datetime(1776, 7, 4, 12, 0, 0)
.unwrap()
.to_iso()
.to_any();
Expand Down Expand Up @@ -436,7 +436,7 @@ impl Page {

let dtf = DateTimeFormatter::try_new_experimental(&locale.into(), options).unwrap();

let datetime = DateTime::try_new_gregorian_datetime(2024, 1, 1, 12, 0, 0)
let datetime = DateTime::try_new_gregorian_datetime(1776, 7, 4, 12, 0, 0)
.unwrap()
.to_iso()
.to_any();
Expand Down Expand Up @@ -472,7 +472,7 @@ impl Page {

let dtf = DateTimeFormatter::try_new_experimental(&locale.into(), options).unwrap();

let datetime = DateTime::try_new_gregorian_datetime(2024, 1, 1, 12, 0, 0)
let datetime = DateTime::try_new_gregorian_datetime(1776, 7, 4, 12, 0, 0)
.unwrap()
.to_iso()
.to_any();
Expand Down

0 comments on commit 85dcfc6

Please sign in to comment.