forked from 0x2620/oxjs
add %x option (show BC/AD if year < 1000) to formatDate, and use on mousemove
This commit is contained in:
parent
f0052d3e3c
commit
bd0f1e1ae3
2 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue