hoveringTooltip - date being hovered
Closed this issue · 1 comments
creatordigital-paul commented
I can only get the day number, startTime and hoveringTime when I hover a date?
Can I not get the actual date being hovered over?
monovertex commented
Per the parameters at https://longbill.github.io/jquery-date-range-picker/#configuration, the signature for the hoveringTooltip
function is: hoveringTooltip: function(days, startTime, hoveringTime)
.
hoveringTime
is the date being hovered, in timestamp format. You can convert that to a date object easily with moment
or the native Date
class.