Skip to content

Commit

Permalink
Fix Search Effort Date display in export
Browse files Browse the repository at this point in the history
  • Loading branch information
jguevarra committed Jan 3, 2025
1 parent 024f85f commit 89ff02f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stores/pallidsturgeonstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -2625,6 +2625,15 @@ func (s *PallidSturgeonStore) GetFullSearchDataSummary(year string, officeCode s

if val == nil {
v = ""
} else if (cols[i] == "SEARCH_DATE") {
if p, okay := val.(string); okay {
v, err = processTimeString(p)
} else {
v, err = processTimeString(fmt.Sprintf("%v", val))
}
if err != nil {
fmt.Printf("error", err)
}
} else {
v = fmt.Sprintf("%v", val)
}
Expand Down

0 comments on commit 89ff02f

Please sign in to comment.