Fix relative date with locale bug