Skip to content

Commit 96947f0

Browse files
authored
Fix regex for timezone parsing to support 3-4 chars (#3379)
1 parent a2097ff commit 96947f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/v7/shared/app_summary_displayer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ var _ = Describe("app summary displayer", func() {
655655

656656
When("there is an active deployment", func() {
657657
var LastStatusChangeTimeString = "2024-07-29T17:32:29Z"
658-
var dateTimeRegexPattern = `[a-zA-Z]{3}\s\d{2}\s[a-zA-Z]{3}\s\d{2}\:\d{2}\:\d{2}\s[A-Z]{3}\s\d{4}`
658+
var dateTimeRegexPattern = `[a-zA-Z]{3}\s\d{2}\s[a-zA-Z]{3}\s\d{2}\:\d{2}\:\d{2}\s[A-Z]{3,4}\s\d{4}`
659659
var maxInFlightDefaultValue = 1
660660

661661
When("the deployment strategy is rolling", func() {

0 commit comments

Comments
 (0)