Do not allow 2-items ampm definitions

This commit is contained in:
Alessandro Pellizzari 2018-12-13 09:16:37 +00:00
parent 2eff6a0e8e
commit 60aa004abe

View file

@ -110,7 +110,7 @@ fn main() {
}
if let Some(ampm) = locale_data.ampm {
if ampm.len() == 2 || ampm.len() == 4 {
if ampm.len() == 4 {
let _ = f
.write_all(
format!(