Thursday, February 09, 2012 ..:: Forums ::.. Register  Login
 Forums Minimize
 
ForumForumMainstream Foru...Mainstream Foru...BugsBugsUS & Everyone else date formats...US & Everyone else date formats...
Previous Previous
 
Next Next
New Post
 8/27/2010 10:19 AM
 

If I have missed something in the UI, I apologise.. But there seems to be an issue/bug with the date picker. If you have users in Europe and others in the US the default formatting of the dates gets a bit screwed up. Take the following scenario.

System default language is set to en-US ,default date is set to mm/dd/yy (US format)

A user in the UK has his personal settings set to: language en-GB, it automatically sets the date format to a UK format (dd/mm/yy ) which cannot be changed to the US format of (mm/dd/yy).

If the UK user goes to a page that has a date picker it will show the default date to be in US format as expected. However when the user picks a date it will default to the UK date format (as expected). BUT, when you submit the form the validation gets upset and tells you to set it to the correct format (IE US format).

The way i see it there are 2 options.

1) Standardise on one date format (best option): In order to do this you need to allow the date options in the User Account setting to be able to select either UK or US date format. Dont bind it to the language setting.

2) Change the validation code so that it allows users to use what ever date format they want and present it in that manner.

Appreciate your input...

Mike

PS, im using the latest patch (4.6.3891)

New Post
 8/27/2010 2:37 PM
 

I believe that the problem is related to our recent switch to use the jQuery date picker. We hoped that it would properly internationalize the date, but there seems to be an issue.

The date format should be selectable per user and it should respect the user's request. We will have to research the issue and get back to you.

New Post
 8/28/2010 2:22 AM
 

First a correction. We have recently converted from our own calendar popup to the use of the AJAX Control Toolkit CalendarExtender.

As for the problem you are reporting, we will need more details in order to duplicate the problem. We have tested the ability to specify a date format as either MM/dd/yyyy or dd/MM/yyyy and they both worked as expected.

New Post
 8/30/2010 12:22 PM
 

based upon your feedback i uninstalled, reinstalled the latest version and then recompiled again.. For some reason that seems to have fixed the issue. Its formatting the date based on the users settings and the calendar is accepting it..

case closed

thanks

Previous Previous
 
Next Next
ForumForumMainstream Foru...Mainstream Foru...BugsBugsUS & Everyone else date formats...US & Everyone else date formats...


  
Copyright (c) 2006-2010 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2012 by DotNetNuke Corporation