Author |
Topic |
|
seven
Senior Member
USA
1037 Posts |
Posted - 25 November 2002 : 22:39:36
|
Why does the datepicker.asp calendar default to year 1989 if no date is already selected as your DOB?
Is this a bug? Should it not default to todays date? |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 25 November 2002 : 22:46:49
|
It is not a bug. It defaults back 13 years from today. The age required to register. |
|
|
seven
Senior Member
USA
1037 Posts |
Posted - 26 November 2002 : 07:49:57
|
That makes sense, the only reason I didn't realize that was I was using the datepicker for another field on my website, I guess It didn't click.
quote: Originally posted by GauravBhabu
It is not a bug. It defaults back 13 years from today. The age required to register.
|
|
|
|
David K
Junior Member
494 Posts |
Posted - 27 November 2002 : 17:55:26
|
if you want to change that, just ask, and i'll tell you how |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 17 December 2002 : 06:16:36
|
I know this subject has been broached several times before, but I cannot find an answer to my situation. The procedure is being followed correctly: select month & year ---> hit "go ---> click on date. Birhdate is "on." Age is "off." Version 3.4.03, with all fixes to date. Yet, it defaults to 13 years ago anyway ... seems to work for some, but not for others ...
I tried to set the date myself for users having trouble. Wouldn't work. Date reverts to 13.
Any suggestions? |
Rich [size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1] |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 17 December 2002 : 06:48:15
|
Never mind ... we were failing to click the "Submit" button at the bottom of the Profile ...
Ooops! |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 18 December 2002 : 08:41:59
|
in actually, i really got some problem with this datepicker feature..
at first time, when i choose month, year and press "Go"... it never really "Go" for me. always stay in 1989 and this month. and if i use << and >> to get my birthday..(when doing this.. you'll so disappoint why you're so far to 13 years old..) and everything seem no problem... but next time you try the datepicker to edit profile.. you'll see the error message now.
something cDate mistake in line.197....
dDate = cDate(Mid(strDOBDate,7,2) & "-" & MonthName(Mid(strDOBDate, 5,2)) & "-" & Mid(strDOBDate, 1,4))
i think it's cause from the special date/time format in my language..(the MonthName will show in Chinese word.. and seem not the same with the system date/time express method..) not sure what exact reason of this date/time problem, but anyway, the fix is.... just remove the MonthName in line..197, 204, 205 (datepicker.asp)
if someone non-english friends also have the same special problem... you can try to do this fix. |
|
|
David K
Junior Member
494 Posts |
Posted - 18 December 2002 : 15:43:41
|
i'm non-english, and I don't have this problem (but My OS is english, so I guess that explains it! |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 18 December 2002 : 15:56:26
|
The problem explained by DoraMoon seems to be due to the fact(?) that cDate does not support monthname in all languages and this problem will occur in other languages as well. I remember using a custom function to determine and get around that problem. |
|
|
David K
Junior Member
494 Posts |
Posted - 18 December 2002 : 17:08:21
|
I use a custom function for the opposite (MonthName doesn't work in Hebrew) |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 18 December 2002 : 18:44:58
|
quote: Originally posted by David K
I use a custom function for the opposite (MonthName doesn't work in Hebrew)
opposite of what? |
|
|
|
Topic |
|