[Bps-public-commit] rt-extension-jsgantt branch, remove-datedaybeforemonth-option, repushed
Todd Wade
todd at bestpractical.com
Wed Dec 10 13:52:05 EST 2014
The branch remove-datedaybeforemonth-option was deleted and repushed:
was 16c1098da523d7b5b4459e9a784dc774d14411e9
now b95586d821beb5cd2a154726ca4417ca2889239a
1: 16c1098 ! 1: b95586d remove DateDayBeforeMonth option
@@ -6,6 +6,17 @@
passthrough-all-jsgantt-options branch. Recommended by cloos at:
https://github.com/bestpractical/rt-extension-jsgantt/commit/fe3deb122d9a6bc358903b3c5f96ab875bdfdadd#comments
+
+diff --git a/Changes b/Changes
+--- a/Changes
++++ b/Changes
+@@
++1.02 2014-10-29
++ - remove DateDayBeforeMonth config option made redundant by v1.01
++
+ 1.01 2014-10-29
+ - Provide RT configuration options for JSGantt's options
+
diff --git a/html/NoAuth/js/jsgantt.js b/html/NoAuth/js/jsgantt.js
--- a/html/NoAuth/js/jsgantt.js
@@ -53,3 +64,38 @@
if( vCurrDate >= vTmpDate && vCurrDate < vNxtDate )
vItemRowStr += '<td class="ghead" style="BORDER-TOP: #efefef 1px solid; FONT-SIZE: 12px; HEIGHT: 20px; BORDER-LEFT: #efefef 1px solid; BORDER-RIGHT: #efefef 1px solid;" bgcolor=#' + vWeekdayColor + ' align=center><div style="width: '+vColWidth+'px">  </div></td>';
else
+
+diff --git a/lib/RT/Extension/JSGantt.pm b/lib/RT/Extension/JSGantt.pm
+--- a/lib/RT/Extension/JSGantt.pm
++++ b/lib/RT/Extension/JSGantt.pm
+@@
+
+ package RT::Extension::JSGantt;
+
+-our $VERSION = '1.01';
++our $VERSION = '1.02';
+
+ use warnings;
+ use strict;
+@@
+ return;
+ }
+
++=head1 UPGRADING
++
++=head2 DateDayBeforeMonth
++
++Prior to version 1.02, there was an undocumented RT config option
++C<DateDayBeforeMonth>. If you have DateDayBeforeMonth set in your RT, you can
++make JSGantt do the same thing by setting C<DateDisplayFormat> in
++RT_SiteConfig.pm:
++
++ Set(
++ %JSGanttOptions,
++ ...
++ # DateDisplayFormat => 'dd/mm/yyyy',
++ ...
++ );
+
+ =head1 AUTHOR
+
More information about the Bps-public-commit
mailing list