reformat datetime into nice datetime (bug 841857)