Skip to content
Snippets Groups Projects

Resolve "Fix issue with timestamp formatting"

Merged Lauri Himanen requested to merge 2256-fix-issue-with-timestamp-formatting into develop
4 files
+ 9
3
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -26,7 +26,7 @@ import { useHistory } from 'react-router-dom'
import { getUrl } from '../nav/Routes'
function getAxisType(type, scale) {
return type === DType.Timestamp && scale === 'linear'
return type === DType.Timestamp && (scale === 'linear' || !scale)
? 'date'
: scale
}
Loading