Skip Menu |

This queue is for tickets about the RT-Extension-JSGantt CPAN distribution.

Report information
The Basics
Id: 67542
Status: resolved
Priority: 0/
Queue: RT-Extension-JSGantt

People
Owner: Nobody in particular
Requestors: tom.robinson [...] motec.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: JSGantt has wrong date format for my timezone
Date: Mon, 18 Apr 2011 08:55:24 +1000
To: bug-RT-Extension-JSGantt [...] rt.cpan.org
From: Tom Robinson <tom.robinson [...] motec.com.au>
RT 3.3.8 bestpractical-rt-extension-jsgantt-d1cacc1 I did receive any valuable feedback from the bug list - just 'resolved'. If you please, what is the issue and what is the resolution? Regards, Tom Hi, 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). Maybe I missed something during install? 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? *** jsgantt.js 2010/11/24 01:59:26 1.1 --- jsgantt.js 2011/04/04 06:26:11 *************** *** 567,571 **** * @default "mm/dd/yyyy" * @private ! */var vDateInputFormat = "mm/dd/yyyy"; /** * Date display format --- 567,571 ---- * @default "mm/dd/yyyy" * @private ! */var vDateInputFormat = "dd/mm/yyyy"; /** * Date display format *************** *** 574,578 **** * @default "mm/dd/yy" * @private ! */var vDateDisplayFormat = "mm/dd/yy"; var vNumUnits = 0; --- 574,578 ---- * @default "mm/dd/yy" * @private ! */var vDateDisplayFormat = "dd/mm/yy"; var vNumUnits = 0; Regards, Tom -- Tom Robinson System Administrator MoTeC 121 Merrindale Drive Croydon South 3136 Victoria Australia T: +61 3 9761 5050 F: +61 3 9761 5051 E: tom.robinson@motec.com.au
Download signature.asc
application/pgp-signature 253b

Message body not shown because it is not plain text.

Hi tom see #67476 for details. please reply to #67476 instead if something is wrong, I'm gonna close this ticket. thanks sunnavy On Sun Apr 17 18:55:44 2011, tom.robinson@motec.com.au wrote: Show quoted text
> RT 3.3.8 > bestpractical-rt-extension-jsgantt-d1cacc1 > > I did receive any valuable feedback from the bug list - just 'resolved'. > If you please, what is the issue and what is the resolution? > > Regards, > > Tom > > Hi, > > 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). > > Maybe I missed something during install? > > 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? > > *** jsgantt.js 2010/11/24 01:59:26 1.1 > --- jsgantt.js 2011/04/04 06:26:11 > *************** > *** 567,571 **** > * @default "mm/dd/yyyy" > * @private > ! */var vDateInputFormat = "mm/dd/yyyy"; > /** > * Date display format > --- 567,571 ---- > * @default "mm/dd/yyyy" > * @private > ! */var vDateInputFormat = "dd/mm/yyyy"; > /** > * Date display format > *************** > *** 574,578 **** > * @default "mm/dd/yy" > * @private > ! */var vDateDisplayFormat = "mm/dd/yy"; > > var vNumUnits = 0; > --- 574,578 ---- > * @default "mm/dd/yy" > * @private > ! */var vDateDisplayFormat = "dd/mm/yy"; > > var vNumUnits = 0; > > Regards, > > Tom >
please see #67476 instead