Page MenuHomePhorge

D25630.1737944529.diff
No OneTemporary

D25630.1737944529.diff

diff --git a/webroot/rsrc/js/application/fact/Chart.js b/webroot/rsrc/js/application/fact/Chart.js
--- a/webroot/rsrc/js/application/fact/Chart.js
+++ b/webroot/rsrc/js/application/fact/Chart.js
@@ -195,8 +195,14 @@
// NOTE: Javascript months are zero-based. See PHI1017.
var d_m = dd.getMonth() + 1;
+ if (d_m.length = 1) {
+ d_m = '0' + d_m;
+ }
var d_d = dd.getDate();
+ if (d_d.length = 1) {
+ d_d = '0' + d_d;
+ }
var y = parseInt(d.y1);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 02:22 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1130671
Default Alt Text
D25630.1737944529.diff (574 B)

Event Timeline