My favorites
▼
|
Sign in
fullcalendar
ISSUE TRACKER HAS MOVED. DO NOT USE THIS (more info)
Project Home
Issues
Export to GitHub
New issue
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
997
attachment: formatDate.diff
(550 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- fullcalendar.js.orig 2011-06-14 22:03:39.000000000 -0600
+++ fullcalendar.js.fix 2011-06-14 22:12:40.000000000 -0600
@@ -1511,8 +1511,8 @@
for (i2=i+1; i2<len; i2++) {
if (format.charAt(i2) == ']') {
var subformat = format.substring(i+1, i2);
- var subres = formatDate(date, subformat, options);
- if (subres != formatDate(otherDate, subformat, options)) {
+ var subres = formatDate(otherDate, subformat, options);
+ if (subres != formatDate(date, subformat, options)) {
res += subres;
}
i = i2;
Powered by
Google Project Hosting