wangzuo / input-moment

React datetime picker powered by momentjs
https://wangzuo.github.io/input-moment
ISC License
527 stars 173 forks source link

locale support #71

Open alexeyMohnatkin opened 7 years ago

alexeyMohnatkin commented 7 years ago
  1. take day names and start day of the week from locale
  2. make variables names human readable
  3. use moment-range for building days range
  4. fix bug with extra week (on screenshot) image
alexeyMohnatkin commented 7 years ago

is something wrong with this pr?

nemoDreamer commented 7 years ago

All things I was missing... Thanks!

lib and distare now git-ignored, so this should be an easy conflict resolution?

wangzuo commented 7 years ago

Could you clean this pr a little bit?

nemoDreamer commented 7 years ago

@alexeyMohnatkin looks like you made the changes in lib instead of src? I think lib and dist get built by webpack?

alexeyMohnatkin commented 6 years ago

@nemoDreamer lib was build by webpack

alexeyMohnatkin commented 6 years ago

is it ready to merge?

alexeyMohnatkin commented 6 years ago

fixed to weekday

alexeyMohnatkin commented 6 years ago

sorry for typo, I've just noticed