Skip to content

Commit 4b3d3ba

Browse files
committed
[fixed] have gutter use culture prop
1 parent 7922882 commit 4b3d3ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TimeGutter.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let TimeGutter = React.createClass({
1212
},
1313

1414
render() {
15-
let { min, max, step, timeGutterFormat } = this.props;
15+
let { min, max, step, timeGutterFormat, culture } = this.props;
1616
let today = new Date()
1717
let totalMin = dates.diff(min, max, 'minutes')
1818
let numSlots = Math.ceil(totalMin / step)
@@ -29,7 +29,7 @@ let TimeGutter = React.createClass({
2929
})}
3030
>
3131
{ isEven && (
32-
<span>{localizer.format(date, timeGutterFormat)}</span>
32+
<span>{localizer.format(date, timeGutterFormat, culture)}</span>
3333
)
3434
}
3535
</div>

0 commit comments

Comments
 (0)