aspose file tools
The moose likes JSF and the fly likes Showing proper date format on client's browser Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Showing proper date format on client Watch "Showing proper date format on client New topic
Author

Showing proper date format on client's browser

Jamie Williams
Ranch Hand

Joined: Mar 31, 2006
Posts: 70
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
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14568
    
    7

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Showing proper date format on client's browser
 
Similar Threads
IN JTextfield on mouse click,should return the clicked text value
how do i get day of the week from the date
fmt date format question
Java Date formatting problem
convert date in appropriate format