To clarify the patch above a bit. The bug submitter's main issue was essentialy fixed upstream in September 2005 with this commit: http://repo.or.cz/w/glibc.git/commitdiff/d29f5cc776206fe1618b73f7afdf3eef239cf073
A side-effect of this commit is that now the output of ncal -e and ncal -o gets ungrammatical instead. My patch fixes this (for all locales, actually) by ditching the ad-hoc formatting of ncal -e / ncal -o in favor of %x