React-calendar-timeline: Date localization?

Created on 16 Feb 2018  路  3Comments  路  Source: namespace-ee/react-calendar-timeline

Hi,
Will there be a date localization in the header?
Is there a way to do it now?

question

Most helpful comment

I managed to do it; just import yout locale before rendering the timeline;

import moment from 'moment';
import "moment/locale/fr"

All 3 comments

I managed to do it; just import yout locale before rendering the timeline;

import moment from 'moment';
import "moment/locale/fr"

thanks @xiorcal . @riflemanIm can you try this out and if it worked, please close this issue? Once closed I'll add this to the FAQ in the readme

Closing as this seems like the solution. Also refer to https://github.com/namespace-ee/react-calendar-timeline/issues/81 as another solution

Was this page helpful?
0 / 5 - 0 ratings