fix date picker: use moment local locale

Define moment local locale instead of moment global locale.