fix some typos in comment or var name (#1027)

indicated by `typos` tool : https://github.com/crate-ci/typos/
This commit is contained in:
Gwen Lg 2025-06-19 00:40:55 +02:00 committed by GitHub
parent ec685bd185
commit b0e89cd5e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -406,12 +406,12 @@ fn time_bag(military_time: bool) -> components::Bag {
let mut bag = components::Bag::empty();
bag.hour = Some(components::Numeric::Numeric);
bag.minute = Some(components::Numeric::Numeric);
let hour_cyle = if military_time {
let hour_cycle = if military_time {
preferences::HourCycle::H23
} else {
preferences::HourCycle::H12
};
bag.preferences = Some(preferences::Bag::from_hour_cycle(hour_cyle));
bag.preferences = Some(preferences::Bag::from_hour_cycle(hour_cycle));
bag
}