mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (cli-core-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
12 files changed
+181
-21
No files matched your search
@@ -16,7 +16,7 @@ import (
|
||||
|
||||
// numericDate matches dates such as 03/04/2026, which read as March 4 in the US and April 3
|
||||
// elsewhere.
|
||||
var numericDate = regexp.MustCompile(`^\d{1,2}[/.]\d{1,2}[/.]\d{2,4}$`)
|
||||
var numericDate = regexp.MustCompile(`^\d{1,2}[/.]\d{1,2}[/.]\d{2,4}(?:[ T].*)?$`)
|
||||
|
||||
// parseDeadline parses a --deadline value; an empty value requests clearing.
|
||||
// Supplied timezone offsets are kept and Unix timestamps are UTC.
|
||||
|
||||
Reference in new issue
Block a user