We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9182d7e + 5b2fff8 commit b7c5c43Copy full SHA for b7c5c43
src/lib/Timeline.js
@@ -565,7 +565,7 @@ export default class ReactCalendarTimeline extends Component {
565
566
let zoom = visibleTimeEnd - visibleTimeStart
567
// can't zoom in more than to show one hour
568
- if (zoom < 360000) {
+ if (zoom < this.props.minZoom) {
569
return
570
}
571
src/lib/default-config.js
@@ -56,7 +56,13 @@ export const defaultHeaderFormats = {
56
mediumLong: 'HH:mm',
57
medium: 'HH:mm',
58
short: 'mm',
59
- }
+ },
60
+ second: {
61
+ "long": 'mm:ss',
62
+ mediumLong: 'mm:ss',
63
+ medium: 'mm:ss',
64
+ "short": 'ss'
65
+ }
66
67
68
//TODO: delete this
0 commit comments