You've already forked openaccounting-server
forked from cybercinch/openaccounting-server
- Add GORM v1.25.12 with MySQL and SQLite drivers - Add Viper v1.19.0 for configuration management - Add UUID package for GORM model IDs - Update vendor directory with new dependencies - Update Go module requirements and checksums 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
201 B
Go
10 lines
201 B
Go
package now
|
|
|
|
import "time"
|
|
|
|
func formatTimeToList(t time.Time) []int {
|
|
hour, min, sec := t.Clock()
|
|
year, month, day := t.Date()
|
|
return []int{t.Nanosecond(), sec, min, hour, day, int(month), year}
|
|
}
|