dinkum
Junior Member
Posts: 3
Registered: 7/30/2003
Member Is Offline
|
| posted on 7/30/2003 at 04:33 PM |
|
|
Year is always 1903?
Just installed Tigra Calendar PRO; all seems to be working fine BUT the problem is that the year in the calendar popup is always 1903 when it pops up;
due to the limitation on date then you can't even change it!
Here's the code I'm using:
In the header:
<!-- Tigra JavaScript portions -->
<SCRIPT language="JavaScript" src="/Acui/Common/Tigra/tigra_calendar_pro/popup_mode/calendar.js"
type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="/Acui/Common/Tigra/tigra_calendar_pro/popup_mode/cal_format01.js"
type="text/javascript"></SCRIPT>
<LINK href="/Acui/Common/Tigra/tigra_calendar_pro/popup_mode/calendar.css" rel="stylesheet" type="text/css">
<!-- End Tigra --->
In the form:
<a href="javascript:cal1.popup();"> <img src="../../Common/Tigra/tigra_calendar_pro/popup_mode/cal.gif"
width="16" height="16" border="0" alt="Click here to pick date"></a>
After the form:
<script language="JavaScript">
var cal1 = new calendar(null,document.forms['edit2'].elements['pubdate'],'#dateformat(now(),"mm/dd/yyyy")#',
null);
</script>
|
|
|
dinkum
Junior Member
Posts: 3
Registered: 7/30/2003
Member Is Offline
|
| posted on 7/30/2003 at 04:35 PM |
|
|
Followup...
I should have pasted the code from the browser, not the page; the date for the minimum date is coming out as whatever today is in the format of
mm/dd/yyyy.
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 7/31/2003 at 01:16 PM |
|
|
Have you solved your problem?
|
|
|
dinkum
Junior Member
Posts: 3
Registered: 7/30/2003
Member Is Offline
|
| posted on 9/15/2003 at 04:31 PM |
|
|
Problem not solved yet...
Still haven't figured it out. Can't find anyone with an answer, either.
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 9/16/2003 at 09:28 AM |
|
|
We've checked and calendar has worked fine in different formats. The problem is in dateformat(now(),"mm/dd/yyyy") function. As
we've understood it should return current date in "mm/dd/yyyy" format and this date is minimum allowed date. You shouldn't have
added this function as it may return incorrect data.
|
|
|