This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

PC locale date  RSS feed

 
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!