Skip to content

Commit

Permalink
Update TimeColumn.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense authored Jan 14, 2017
1 parent 54fd905 commit a25776b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/TimeColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import TimeSlotGroup from './TimeSlotGroup'
export default class TimeColumn extends Component {
static propTypes = {
step: PropTypes.number.isRequired,
culture: PropTypes.string,
timeslots: PropTypes.number.isRequired,
now: PropTypes.instanceOf(Date).isRequired,
min: PropTypes.instanceOf(Date).isRequired,
Expand All @@ -30,14 +31,15 @@ export default class TimeColumn extends Component {
}

renderTimeSliceGroup(key, isNow, date) {
const { dayWrapperComponent, timeslots, showLabels, step, timeGutterFormat } = this.props;
const { dayWrapperComponent, timeslots, showLabels, step, timeGutterFormat, culture } = this.props;

return (
<TimeSlotGroup
key={key}
isNow={isNow}
value={date}
step={step}
culture={culture}
timeslots={timeslots}
showLabels={showLabels}
timeGutterFormat={timeGutterFormat}
Expand Down

0 comments on commit a25776b

Please sign in to comment.