Prevent crash with LC_TIME=ja_JP.UTF-8 (Gentoo bug #464962)