Apache OpenOffice (AOO) Bugzilla – Issue 98754
add two digit Numberformat Calendar Week
Last modified: 2013-08-07 15:12:27 UTC
The current numberformat "Calendar Week" WW will not display a leading zero for weeks < 10. We should offer a format code that guarantees 2 digits with leading zero (02 instead of 2). suggestion for implementation: a) make WW the two digit format and add W as "Calendar Week without leading zero" pro: this would be consistent with e.g. MM vs. M con: changed behaviour of existing format b) leave WW as "Calendar Week without leading zero" and add a new format code (maybe 0W) as new format code pro: no change to current behaviour con: inconsistent with other format codes General problem: afair there is no way to handle this in ODF @er: I'm not sure who should handle this request. Can you please have a look and reassign (and consider to suggest this for ODF 1.2)
a) is a no-go because of 'con' ;-) b) would be the way to go, but not with '0W' but 'WWW' instead. For ODF I think it would be possible to express it with the number:style="long" attribute, but that would had to be added to the ODF spec for the <number:week-of-year/> element.