Thanks for an interesting piece of research. Clearly there's a need to standardize.
Would it make sense to do the pretty-formatting in the web server layer? That way your pretty-printer-proc will automatically have access to the user locale. And it's possibly easier to do more advanced stuff, such as being able to say "Today at 10:32" or "Yesterday", when that's when it was.