Thanks YOU, this works very fine:
p.xaxis.formatter = DatetimeTickFormatter(microseconds = ‘%fus’
,milliseconds = ‘%3Nms’
,seconds = ‘%Ss’
,minsec = ‘:%M:%S’
,minutes = ‘:%M’
,hourmin = ‘%H:%M’
,hours = ‘%Hh’
,days = ‘%d/%b’
,months = ‘%b/%Y’
,years = ‘%Y’)
Only one things: the name of the mounths is in English, can I translate in Italian?
Kind regards
Mauro
Bokeh uses the timezone library internally to process the format:
It appears that timezone might support different localizations. I am not sure if that support is always built-in or requires additional resource bundles to function. Either way, we could potentially expose the locale property and pass it to timezeone but that would be future development. I’d encourage you to open a GitHub Issue about it.
In the mean time, I think you would need to use CustomJSHover to format manually for now. (Note, if you try this route, that datetime axis values are represented as floating point milliseconds-since-epoch).