Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LoadLocation (0.22 sec)

  1. istioctl/pkg/writer/compare/route.go

    		return err
    	}
    	lastUpdatedStr := ""
    	if lastUpdated, err := c.envoy.GetLastUpdatedDynamicRouteTime(); err != nil {
    		return err
    	} else if lastUpdated != nil {
    		loc, err := time.LoadLocation(c.location)
    		if err != nil {
    			loc, _ = time.LoadLocation("UTC")
    		}
    		lastUpdatedStr = fmt.Sprintf(" (RDS last loaded at %s)", lastUpdated.In(loc).Format(time.RFC1123))
    	}
    	if text != "" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/update_test.go

    			t.Errorf("Test %d: Expected %v but got %v",
    				i+1, testCase.isOfficial, err == nil)
    		}
    	}
    }
    
    func TestReleaseTagToNFromTimeConversion(t *testing.T) {
    	utcLoc, _ := time.LoadLocation("")
    	testCases := []struct {
    		t      time.Time
    		tag    string
    		errStr string
    	}{
    		{
    			time.Date(2017, time.September, 29, 19, 16, 56, 0, utcLoc),
    			"RELEASE.2017-09-29T19-16-56Z", "",
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg time, func AfterFunc(Duration, func()) *Timer
    pkg time, func Date(int, Month, int, int, int, int, int, *Location) Time
    pkg time, func FixedZone(string, int) *Location
    pkg time, func LoadLocation(string) (*Location, error)
    pkg time, func NewTicker(Duration) *Ticker
    pkg time, func NewTimer(Duration) *Timer
    pkg time, func Now() Time
    pkg time, func Parse(string, string) (Time, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top