Datepicker now accepts :lang which takes a keyword which maps to built-in
languages like :en-US.
Currently provides English, Russian, French, Spanish, Portuguese and Finnish mappings. Also, the :lang key accepts a language hash-map with correct format.
Language hash-maps must define :first-day key which allow choosing arbritrary first day of the week
by index starting from Sunday as 0. Choosing :first-day 1 would render monday as the first day of the week.
Also moved functions related to gen-days above it for clarity.
Datepicker now accepts
:lang
which takes a keyword which maps to built-in languages like :en-US.Currently provides English, Russian, French, Spanish, Portuguese and Finnish mappings. Also, the
:lang
key accepts a language hash-map with correct format.Language hash-maps must define
:first-day
key which allow choosing arbritrary first day of the week by index starting from Sunday as 0. Choosing :first-day 1 would render monday as the first day of the week.Also moved functions related to
gen-days
above it for clarity.Example usage: