Enter iLib. Now you can do the formatting properly, right in the browser. It's not even difficult or slow!
Date formatting is not all that iLib can do. Check out the feature list below for a list of classes that iLib currently offers. More classes are on the way, and many more locales.