Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 51034bd

Browse files
nobuhsbt
authored andcommittedMar 30, 2023
1 parent 2444456 commit 51034bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/time.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def rfc2822(date)
510510
(\d{2,})\s+
511511
(\d{2})\s*
512512
:\s*(\d{2})
513-
(?:\s*:\s*(\d{2}))?\s+
513+
(?:\s*:\s*(\d\d))?\s+
514514
([+-]\d{4}|
515515
UT|GMT|EST|EDT|CST|CDT|MST|MDT|PST|PDT|[A-IK-Z])/ix =~ date
516516
# Since RFC 2822 permit comments, the regexp has no right anchor.

0 commit comments

Comments
 (0)
Please sign in to comment.