Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Showing proper date format on client's browser

 
Jamie Williams
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a text field where I display a default date in dd-MMM-yy format. On Windows computers with a French locale and settings instead of the date showing up as 08-Feb-06 it shows 08-fevr.-06. Can I enforce an English date name somehow? Thanks in advance.
 
Tim Holloway
Bartender
Posts: 18423
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but I'd have to RTFM. However, it's generally considered to be more polite to conform to the user's locale settings. That way they can adjust them to whatever format they're most comfortable with.
 
No more fooling around. Read this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!