Avoid moment deprecation warnings by strictening date parsing