aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/format.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/time/format.go b/src/time/format.go
index cab78f73a0..b9cd702c0d 100644
--- a/src/time/format.go
+++ b/src/time/format.go
@@ -1259,9 +1259,9 @@ func parse(layout, value string, defaultLocation, local *Location) (Time, error)
hr, _, err = getnum(hour, true)
if err == nil {
mm, _, err = getnum(min, true)
- }
- if err == nil {
- ss, _, err = getnum(seconds, true)
+ if err == nil {
+ ss, _, err = getnum(seconds, true)
+ }
}
// The range test use > rather than >=,