Skip to content

Commit a25776b

Browse files
authored
Update TimeColumn.js
fixes #267
1 parent 54fd905 commit a25776b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/TimeColumn.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import TimeSlotGroup from './TimeSlotGroup'
99
export default class TimeColumn extends Component {
1010
static propTypes = {
1111
step: PropTypes.number.isRequired,
12+
culture: PropTypes.string,
1213
timeslots: PropTypes.number.isRequired,
1314
now: PropTypes.instanceOf(Date).isRequired,
1415
min: PropTypes.instanceOf(Date).isRequired,
@@ -30,14 +31,15 @@ export default class TimeColumn extends Component {
3031
}
3132

3233
renderTimeSliceGroup(key, isNow, date) {
33-
const { dayWrapperComponent, timeslots, showLabels, step, timeGutterFormat } = this.props;
34+
const { dayWrapperComponent, timeslots, showLabels, step, timeGutterFormat, culture } = this.props;
3435

3536
return (
3637
<TimeSlotGroup
3738
key={key}
3839
isNow={isNow}
3940
value={date}
4041
step={step}
42+
culture={culture}
4143
timeslots={timeslots}
4244
showLabels={showLabels}
4345
timeGutterFormat={timeGutterFormat}

0 commit comments

Comments
 (0)