Tuesday, October 16, 2007

IBD - Date Internationalization

International DatesAfter a Canadian user of the Dashboard (thank you rossanyl) suggested displaying dates in alternate formats, I started looking into internationalizing parts of the system. It took a bit of reading & wading through documentation, but I ended up coming across an ASP function that someone had built to identify & update an ASP session with the correct LCID (otherwise known as the locale ID).

So in order to view international dates, you just need to have the correct language set in your browser. Rossanyl needed to change her language from English-US to English-Canada, and the system started showing the recognized Canadian format of "dd/mm/yyyy" as you can see in the screenshot. The other helpful indicator is that the LCID from the "user_date_test" page will be something other than 1033, which is for US English.

Hopefully, this is another small change that will make the Dashboard that much more useful. Enjoy!

1 comment:

rossanyl said...

Work like a charm, Merci !