Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PC locale date

 
Ve Ku
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 88
Java Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why are you not using <s:datetimepicker> instead? You will not take care of al this.
 
Ve Ku
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic