Skip to content
Snippets Groups Projects
Commit 6eef52ae authored by Daniel Naude's avatar Daniel Naude
Browse files

Add trading hours type in date utils

parent 05c78780
No related branches found
No related tags found
No related merge requests found
package date_utils
import (
"github.com/araddon/dateparse"
"reflect"
"strconv"
"time"
"github.com/araddon/dateparse"
)
const TimeZoneString = "Africa/Johannesburg"
......@@ -271,3 +272,8 @@ func formatTimestampsWithTimeZoneInSlice(fieldValue reflect.Value, location *tim
}
return nil
}
type TradingHours struct {
Days string `json:"days"`
Times string `json:"times"`
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment