1
0
Fork 0
forked from 0x2620/oxjs

add %x option (show BC/AD if year < 1000) to formatDate, and use on mousemove

This commit is contained in:
rolux 2011-05-26 19:20:55 +02:00
commit bd0f1e1ae3
2 changed files with 10 additions and 4 deletions

View file

@ -701,7 +701,7 @@ Ox.Calendar = function(options, self) {
title = '<span class="OxBright">' + event.name + '</span><br/>' +
event.rangeText + '<br>' + event.durationText;
} else {
title = Ox.formatDate(getMouseDate(e), '%a, %b %e, %Y, %H:%M:%S', true);
title = Ox.formatDate(getMouseDate(e), '%a, %b %e, %x, %H:%M:%S', true);
}
self.$tooltip.options({
title: title