Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,592 for time (0.15 sec)

  1. internal/amztime/iso8601_time.go

    }
    
    // ISO8601Parse parses ISO8601 date string
    func ISO8601Parse(iso8601 string) (t time.Time, err error) {
    	for _, layout := range []string{
    		iso8601TimeFormat,
    		iso8601TimeFormatLong,
    		time.RFC3339,
    	} {
    		t, err = time.Parse(layout, iso8601)
    		if err == nil {
    			return t, nil
    		}
    	}
    
    	return t, err
    Go
    - Registered: 2024-02-25 19:28
    - Last Modified: 2023-01-16 23:38
    - 1.9K bytes
    - Viewed (0)
  2. internal/amztime/iso8601_time_test.go

    package amztime
    
    import (
    	"testing"
    	"time"
    )
    
    func TestISO8601Format(t *testing.T) {
    	testCases := []struct {
    		date           time.Time
    		expectedOutput string
    	}{
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    Go
    - Registered: 2024-02-25 19:28
    - Last Modified: 2022-12-12 18:28
    - 1.8K bytes
    - Viewed (0)
  3. src/archive/zip/testdata/time-winrar.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 150 bytes
    - Viewed (0)
  4. src/archive/zip/testdata/time-win7.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 114 bytes
    - Viewed (0)
  5. src/archive/zip/testdata/time-go.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 148 bytes
    - Viewed (0)
  6. src/archive/zip/testdata/time-infozip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 166 bytes
    - Viewed (0)
  7. src/archive/zip/testdata/time-osx.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 142 bytes
    - Viewed (0)
  8. src/archive/zip/testdata/time-22738.zip

    Russ Cox <******@****.***> 1511973652 -0500
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-12-01 00:22
    - 140 bytes
    - Viewed (0)
  9. src/archive/zip/testdata/time-winzip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 150 bytes
    - Viewed (0)
  10. src/archive/zip/testdata/time-7zip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: 2024-02-27 11:13
    - Last Modified: 2017-11-06 19:50
    - 150 bytes
    - Viewed (0)
Back to top