projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa06190
)
CRM-15578 - Fix display of dates on past newsletters
author
Tim Otten
<totten@civicrm.org>
Thu, 8 Jan 2015 02:18:15 +0000
(18:18 -0800)
committer
Tim Otten
<totten@civicrm.org>
Thu, 8 Jan 2015 02:18:15 +0000
(18:18 -0800)
js/angular-crmMailing/directives.js
patch
|
blob
|
blame
|
history
diff --git
a/js/angular-crmMailing/directives.js
b/js/angular-crmMailing/directives.js
index bb1104f4c80b00941917e15de664df5ccbf3ced8..e88589d70ed16fcf6628a4f7e21c5bceb9439572 100644
(file)
--- a/
js/angular-crmMailing/directives.js
+++ b/
js/angular-crmMailing/directives.js
@@
-251,7
+251,7
@@
return date;
}
var p = date.split(/[\- :]/);
- return new Date(p
[0], p[1], p[2], p[3], p[4], p[5]
);
+ return new Date(p
arseInt(p[0]), parseInt(p[1])-1, parseInt(p[2]), parseInt(p[3]), parseInt(p[4]), parseInt(p[5])
);
};
/// Remove {value} from {array}