Port functions from VSTP to handle CIF data. Added tests for Cif/helpers functions

This commit is contained in:
Fred Boniface
2024-04-05 21:42:00 +01:00
parent adf745aa61
commit e0edfd0d50
10 changed files with 173 additions and 108 deletions

View File

@@ -101,7 +101,7 @@ func parseDate(dateString string, end bool) time.Time {
var hour, minute, second, nanosecond int
location := time.UTC
if end {
hour, minute, second, nanosecond = 23, 59, 59, 999999999
hour, minute, second, nanosecond = 23, 59, 59, 0
} else {
hour, minute, second, nanosecond = 0, 0, 0, 0
}