Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bobgroup-go-utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bob Public Utils
bobgroup-go-utils
Merge requests
!51
Refactor TradingHours struct and validation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Refactor TradingHours struct and validation
trading_hours
into
main
Overview
4
Commits
4
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Daniel Naude
requested to merge
trading_hours
into
main
9 months ago
Overview
4
Commits
4
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
b1fbcc32
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b1fbcc32
Fix string function for closed days
· b1fbcc32
Daniel Naude
authored
9 months ago
date_utils/date_utils.go
+
1
−
1
Options
@@ -458,7 +458,7 @@ type TradingHoursDay struct {
}
func
(
day
TradingHoursDay
)
String
()
string
{
if
day
.
StartTime
==
""
&&
day
.
EndTime
==
""
{
if
day
.
StartTime
==
""
||
day
.
EndTime
==
""
{
return
"Closed"
}
Loading