func SourceTimeFormatted()

in internal/version/version.go [23:35]


func SourceTimeFormatted() string {
	if SourceDateEpoch == "" {
		return "unknown"
	}

	seconds, err := strconv.ParseInt(SourceDateEpoch, 10, 64)
	if err != nil {
		return "invalid"
	}

	// NOTE: time is returned in UTC to avoid timezone difference issues
	return time.Unix(seconds, 0).UTC().Format(time.RFC3339)
}