Detecting the Current User’s Regional Settings with jQuery

I noticed a nice little trick going by in my Twitter feeds today. I’ve always wanted to know how to do this. Displaying the right formats for dates and times as well as the right offset from UTC is a real challenge from the client side. There’s a fantastic library called Moment.js that I use…