<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
RT 3.3.8<br>
bestpractical-rt-extension-jsgantt-d1cacc1<br>
<br>
Hi,<br>
<br>
I installed JSGantt a while ago but don't really use it because the
date format is around the wrong way (in Australia we use DD/MM/CCYY
not MM/DD/CCYY).<br>
<br>
Maybe I missed something during install?<br>
<br>
Anyway, I recently took another look at the setup and decided to
change the java script jsgannt.js so that vDateInputFormat is
"dd/mm/yyyy" (see diff below) but I still can't make any sense of
the dates being displayed. What is the correct way to set the date
format for JSGantt?<br>
<br>
*** jsgantt.js 2010/11/24 01:59:26 1.1<br>
--- jsgantt.js 2011/04/04 06:26:11<br>
***************<br>
*** 567,571 ****<br>
* @default "mm/dd/yyyy"<br>
* @private<br>
! */var vDateInputFormat = "mm/dd/yyyy";<br>
/**<br>
* Date display format <br>
--- 567,571 ----<br>
* @default "mm/dd/yyyy"<br>
* @private<br>
! */var vDateInputFormat = "dd/mm/yyyy";<br>
/**<br>
* Date display format <br>
***************<br>
*** 574,578 ****<br>
* @default "mm/dd/yy"<br>
* @private<br>
! */var vDateDisplayFormat = "mm/dd/yy";<br>
<br>
var vNumUnits = 0;<br>
--- 574,578 ----<br>
* @default "mm/dd/yy"<br>
* @private<br>
! */var vDateDisplayFormat = "dd/mm/yy";<br>
<br>
var vNumUnits = 0;<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
<br>
<pre class="moz-signature" cols="72">Tom Robinson
System Administrator
<img alt="MoTeC" src="cid:part1.01080900.01080704@motec.com.au" height="49" width="144">
121 Merrindale Drive
Croydon South
3136 Victoria
Australia
T: +61 3 9761 5050
F: +61 3 9761 5051
E: <a class="moz-txt-link-abbreviated" href="mailto:tom.robinson@motec.com.au">tom.robinson@motec.com.au</a></pre>
</div>
</body>
</html>