Skip to content

Commit

Permalink
fix: Fix CustomParseFormat plugin set locale error (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent ebd8e6a commit 4d32a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/customParseFormat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default (o, C, d) => {
if (isStrict && date !== this.format(format)) {
this.$d = new Date('')
}
if (pl && pl !== true) this.$L = pl
if (pl && pl !== true) this.$L = this.locale(pl).$L
} else {
oldParse.call(this, cfg)
}
Expand Down

0 comments on commit 4d32a0d

Please sign in to comment.