fix some typos in comment or var name (#1027)
indicated by `typos` tool : https://github.com/crate-ci/typos/
This commit is contained in:
parent
ec685bd185
commit
b0e89cd5e3
4 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue