Skip to content

Draft: support for intl date-picker, italian datepicker

Tassoman requested to merge i-1312 into develop

Summary

fixes: #1312 (closed)

I managed to load react-datepicker using italian locale by using a conditional import of date-dnf library.

This implementation explicitly imports two locales (enUS, it). Adding support for other locales, would mean load them all. Documentation explains how to limit locales import by webpack configuration

This MR it's ready for en+it. But it's Draft if we want to embrace others locales.

Needs a review by mantainers, about how much load impacts the build.

Screenshots (if appropriate):

Translated Picker

immagine

Status composition

immagine

Event Modal

immagine

Edited by Tassoman

Merge request reports

Loading