Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Year is always 1903?
dinkum
Junior Member

Posts: 3
Registered: 7/30/2003
Member Is Offline
posted on 7/30/2003 at 04:33 PM Reply With Quote
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>
View User's Profile View All Posts By User U2U Member
dinkum
Junior Member

Posts: 3
Registered: 7/30/2003
Member Is Offline
posted on 7/30/2003 at 04:35 PM Reply With Quote
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.
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 7/31/2003 at 01:16 PM Reply With Quote

Have you solved your problem?
View User's Profile View All Posts By User U2U Member
dinkum
Junior Member

Posts: 3
Registered: 7/30/2003
Member Is Offline
posted on 9/15/2003 at 04:31 PM Reply With Quote
Problem not solved yet...


Still haven't figured it out. Can't find anyone with an answer, either.
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 9/16/2003 at 09:28 AM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004