wood burning stoves 2.0*
The moose likes Struts and the fly likes PC locale date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "PC locale date" Watch "PC locale date" New topic
Author

PC locale date

Ve Ku
Greenhorn

Joined: Sep 17, 2010
Posts: 19
Hello,
really not sure this is the right place to post this, but i am working with struts, so...don't kill me
So my question is: I have a site, and in that site i have integrated jQuery datepicker. Imagine, there is a user, who made his local settings, on his own PC, so the week, begins from Sunday for example. Is it possible, somehow, my site to recognise this and my datepicker to display the week beginning from Sunday ?
Thanks
Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

why are you not using <s:datetimepicker> instead? You will not take care of al this.


SCJP 91%, SCWCD 97%
Ve Ku
Greenhorn

Joined: Sep 17, 2010
Posts: 19
Hi,
because it's important to be a good looking , real calendar, not a dropdown. I think i have a partial solution of the problem, may be i can get the language from the header of the browser, which the browser takes from the local settings.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PC locale date
 
Similar Threads
Using DatePicker in JSP
Issue with datepicker
away for a few...
Date Calculation
Where is everyone?