Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: improve validation for epoch format (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored and luciorubeens committed Apr 19, 2019
1 parent b7da8f8 commit 0478e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/Network/NetworkModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export default {
epoch: {
requiredIfFull,
isValid (value) {
return !this.showFull || /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.000Z$/.test(value)
return !this.showFull || /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(value)
}
},
wif: {
Expand Down

0 comments on commit 0478e8c

Please sign in to comment.