Skip to content

Commit

Permalink
fix(plugins/dates): update regex.js because of dmy option #1132 #1129
Browse files Browse the repository at this point in the history
  • Loading branch information
hchiam committed Jul 30, 2024
1 parent 59bcf11 commit 81f9ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dates/src/model/regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default [
// @4pm
[/^@[1-9]+(am|pm)$/, 'Time', '@5pm'],
// 03/02
[/^(?:0[1-9]|1[0-2])\/(?:0[1-9]|[12]\d|3[01])$/, 'Date', '03/02'],
[/^(?:0[1-9]|[12]\d|3[01])\/(?:0[1-9]|[12]\d|3[01])$/, 'Date', '03/02'],
// iso-time
// [/^[0-9]{4}[:-][0-9]{2}[:-][0-9]{2}T[0-9]/i, 'Time', 'iso-time-tag']

Expand Down

0 comments on commit 81f9ad6

Please sign in to comment.