<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body 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
rt.cpan.org'. I tried searching there but don't find anything.
Sorry, but I don't know what is going on...<br>
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<br>
</div>
On 15/04/11 11:20, Ruslan Zakirov wrote:
<blockquote
cite="mid:BANLkTi=XnW1_E7574TCoWyNPZAju3cnOew@mail.gmail.com"
type="cite">
<div class="gmail_quote">Sent to appropriate queue on <a
moz-do-not-send="true" href="http://rt.cpan.org">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 moz-do-not-send="true"
href="mailto:tom.robinson@motec.com.au">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 moz-do-not-send="true"
href="mailto:rt-users@lists.bestpractical.com">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 moz-do-not-send="true" 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>
</body>
</html>