niceTimeFormatByDay
@elastic/charts • Exports
@elastic/charts / niceTimeFormatByDay
Function: niceTimeFormatByDay()
niceTimeFormatByDay(
days
):"YYYY-MM-DD"
|"MMMM DD"
|"MM-DD HH:mm"
|"HH:mm:ss"
Parameters
• days: number
Returns
"YYYY-MM-DD"
| "MMMM DD"
| "MM-DD HH:mm"
| "HH:mm:ss"
Source
packages/charts/src/utils/data/formatters.ts:30
Generated using typedoc-plugin-markdown and TypeDoc