Bug 252717

Summary: bin/localedef: Cannot compile valid LC_TIME
Product: Base System Reporter: Olga Smirnova <mistresssilvara>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Works As Intended    
Severity: Affects Only Me    
Priority: ---    
Version: 12.1-STABLE   
Hardware: Any   
OS: Any   

Description Olga Smirnova 2021-01-15 18:51:22 UTC
The localedef utility, compiling a locale with all supported keys in the LC_TIME section, produces a 45-line LC_TIME file, which is rejected as invalid by 'locale', instead of the correct 58-line one.
Comment 1 Yuri Pankov freebsd_committer freebsd_triage 2021-05-06 20:32:34 UTC
Can you provide more information on this (localedef invocation, input/output files)?
Comment 2 Yuri Pankov freebsd_committer freebsd_triage 2023-09-21 14:51:47 UTC
Looking at this again, localedef(1) is supposed to work on posix-compatible data and we differ for LC_TIME having 2 additional specifiers (altmon and d_md_order).  The resulting files are plain text and the format is visible in share/timedef/ files.

Given the above, I'm going to close this as "not a bug".  Please reopen if you don't agree.