Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for zeroKey (0.04 sec)

  1. internal/amztime/iso8601_time.go

    func ISO8601Format(t time.Time) string {
    	value := t.Format(iso8601TimeFormat)
    	if len(value) < len(iso8601TimeFormat) {
    		value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
    		// Pad necessary zeroes to full-fill the iso8601TimeFormat
    		return value + strings.Repeat("0", (len(iso8601TimeFormat)-1)-len(value)) + "Z"
    	}
    	return value
    }
    
    // ISO8601Parse parses ISO8601 date string
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jan 16 23:38:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top