Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseRFC3339 (0.12 sec)

  1. src/time/format.go

    func Parse(layout, value string) (Time, error) {
    	// Optimize for RFC3339 as it accounts for over half of all representations.
    	if layout == RFC3339 || layout == RFC3339Nano {
    		if t, ok := parseRFC3339(value, Local); ok {
    			return t, nil
    		}
    	}
    	return parse(layout, value, UTC, Local)
    }
    
    // ParseInLocation is like Parse but differs in two important ways.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top