Skip to content

Commit

Permalink
email test: Adapting timestamp regex to more timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Hinderberger committed Jul 4, 2024
1 parent c3594de commit b9e9185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/email/expected_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"idx": 0,
"isMultipart": true,
"receivedAt:control": {
"match": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]+\\+[0-9]{2}:[0-9]{2}"
"match": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]+(((\\+|\\-)[0-9]{2}:[0-9]{2})|Z)"
},
"smtpFrom": "testsender123@programmfabrik.de",
"smtpRcptTo": [
Expand Down
2 changes: 1 addition & 1 deletion test/email/expected_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
],
"multipartsCount": 2,
"receivedAt:control": {
"match": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]+\\+[0-9]{2}:[0-9]{2}"
"match": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]+(((\\+|\\-)[0-9]{2}:[0-9]{2})|Z)"
},
"smtpFrom": "testsender123@programmfabrik.de",
"smtpRcptTo": [
Expand Down

0 comments on commit b9e9185

Please sign in to comment.