v0.0.630
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m24s

This commit is contained in:
2026-03-14 14:10:09 +01:00
parent 0923fa7c09
commit b01e659bb4
3 changed files with 30 additions and 4 deletions

26
excelext/utils.go Normal file
View File

@@ -0,0 +1,26 @@
package excelext
import (
"strconv"
"git.blackforestbytes.com/BlackForestBytes/goext/rfctime"
"github.com/360EntSecGroup-Skylar/excelize"
)
func c(row int, col int) string {
return excelize.ToAlphaString(col) + strconv.Itoa(row)
}
func excelizeOptTime(t *rfctime.RFC3339NanoTime) any {
if t == nil {
return ""
}
return t.Time()
}
func excelizeOptDate(t *rfctime.Date) any {
if t == nil {
return ""
}
return t.TimeUTC()
}