summaryrefslogtreecommitdiff
path: root/time.string.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-30 14:03:30 -0500
committerJeff Carr <[email protected]>2025-10-30 14:03:30 -0500
commit357b464107b520fae4ed064b3dac639b14105e1a (patch)
tree78785aa9dec34de85392363acd29a37abe6fdb32 /time.string.go
parent57fa0dc00c8141c252c8ec452f8a34448315c33d (diff)
wasn't cleaning out newlines in row dataHEADv0.0.34v0.0.33masterdevel
Diffstat (limited to 'time.string.go')
-rw-r--r--time.string.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/time.string.go b/time.string.go
index bfa0007..96afe65 100644
--- a/time.string.go
+++ b/time.string.go
@@ -24,6 +24,9 @@ import (
// --------------------------------------------------------------------------------
func doTimeString(BUILDTIME string) (*time.Time, error) {
+ if strings.TrimSpace(BUILDTIME) == "" {
+ return nil, IsBlank
+ }
parts := strings.Split(BUILDTIME, " ")
if len(parts) == 1 {
return doTimeSingleString(parts[0])