<a href="http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-JSGantt">http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-JSGantt</a><br><br><div class="gmail_quote">On Fri, Apr 15, 2011 at 9:04 AM, Tom Robinson <span dir="ltr"><<a href="mailto:tom.robinson@motec.com.au">tom.robinson@motec.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
I'm really not sure what happened here. I sent a message to the
rt-users list; that got forwarded to an 'appropriate queue on
<a href="http://rt.cpan.org" target="_blank">rt.cpan.org</a>'. I tried searching there but don't find anything.
Sorry, but I don't know what is going on...<div class="im"><br>
<div>
<br>
</div>
On 15/04/11 11:20, Ruslan Zakirov wrote:
</div><div><div></div><div class="h5"><blockquote type="cite">
<div class="gmail_quote">Sent to appropriate queue on <a href="http://rt.cpan.org" target="_blank">rt.cpan.org</a>.</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Tom Robinson</b> <span dir="ltr"><<a href="mailto:tom.robinson@motec.com.au" target="_blank">tom.robinson@motec.com.au</a>></span><br>
Date: Fri, Apr 15, 2011 at 4:28 AM<br>
Subject: [rt-users] JSGantt has wrong date format for my
timezone<br>
To: <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<br>
<br>
<div 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>-- <br>
<br>
<pre cols="72">Tom Robinson
System Administrator
<img alt="MoTeC" src="cid:part1.07060102.09090008@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 href="mailto:tom.robinson@motec.com.au" target="_blank">tom.robinson@motec.com.au</a></pre>
</div>
</div>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best regards, Ruslan.<br>
</blockquote>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards, Ruslan.<br>