reagent-project / reagent-forms

Bootstrap form components for Reagent
339 stars 78 forks source link

remove duplication of month/day names #83

Closed dmarjenburgh closed 8 years ago

dmarjenburgh commented 8 years ago

I noticed the month names and shortened day0of-week names were hardcoded in the components. They now use the dates object.

I would really like to be able to use a custom provided dates map for i18 purposes (we are using reagent-forms in production). This is a small step towards that feature request because the names are now encapsulated in one place.

yogthos commented 8 years ago

great idea

yogthos commented 8 years ago

and it's up on Clojars :)

dmarjenburgh commented 8 years ago

Thanks man :)