LuccaSA / lucca-front

documentation
https://prisme.lucca.io
MIT License
38 stars 4 forks source link

feat(time-picker): AM/PM support #2888

Closed Supamiu closed 2 months ago

Supamiu commented 3 months ago

Description

Add support for AM/PM display inside the time-picker, enabled by default based on LOCALE_ID in combination with Intl checks.

Interactions are:

This only affects the display, output model is still using 24h format


I'm not a big fan of how I ended up detecting AM/PM using Intil but couldn't find a reliable way to find that other than using format since resolvedOptions() doesn't expose time format based on locale.


LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

Supamiu commented 3 months ago

closes #2881

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 2 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2888/storybook

CCNET-iLucca commented 2 months ago

Tests d'interfaces