summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien MUETTON <the.mouette@gmail.com>2011-05-02 01:04:54 -0700
committerJulien MUETTON <the.mouette@gmail.com>2011-05-02 01:04:54 -0700
commit3c2e97d6ef2ee5c71598acc1f5df87f577fc6954 (patch)
tree766213e5df917fe3a167e20365d3f2ef7542f7a8
parent8c5a0f5e0a2bccd95d15ee3d45774c3b9877ba2c (diff)
parent477a8e51f9170ac75214a4466fa30097ed3f70f9 (diff)
downloadjquery-week-calendar-3c2e97d6ef2ee5c71598acc1f5df87f577fc6954.zip
jquery-week-calendar-3c2e97d6ef2ee5c71598acc1f5df87f577fc6954.tar.gz
jquery-week-calendar-3c2e97d6ef2ee5c71598acc1f5df87f577fc6954.tar.bz2
Merge pull request #62 from powermick/patch-1.
fix call of private func to public
-rw-r--r--jquery.weekcalendar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery.weekcalendar.js b/jquery.weekcalendar.js
index fb1d568..cb4c5bf 100644
--- a/jquery.weekcalendar.js
+++ b/jquery.weekcalendar.js
@@ -437,9 +437,9 @@
var endMillis = startMillis + options.millisPerTimeslot;
times[i] = {
start: new Date(startMillis),
- startFormatted: this._formatDate(new Date(startMillis), options.timeFormat),
+ startFormatted: this.formatTime(new Date(startMillis), options.timeFormat),
end: new Date(endMillis),
- endFormatted: this._formatDate(new Date(endMillis), options.timeFormat)
+ endFormatted: this.formatTime(new Date(endMillis), options.timeFormat)
};
startMillis = endMillis;
}