mirror of
https://github.com/0x5eal/chrono-lc.git
synced 2025-04-19 03:13:49 +01:00
Do not allow 2-items ampm definitions
This commit is contained in:
parent
2eff6a0e8e
commit
60aa004abe
1 changed files with 1 additions and 1 deletions
2
build.rs
2
build.rs
|
@ -110,7 +110,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(ampm) = locale_data.ampm {
|
if let Some(ampm) = locale_data.ampm {
|
||||||
if ampm.len() == 2 || ampm.len() == 4 {
|
if ampm.len() == 4 {
|
||||||
let _ = f
|
let _ = f
|
||||||
.write_all(
|
.write_all(
|
||||||
format!(
|
format!(
|
||||||
|
|
Loading…
Add table
Reference in a new issue