Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JanFebMarAprMayJunJulAugSepOctNovDec (0.23 sec)

  1. src/net/http/server.go

    // appendTime is a non-allocating version of []byte(t.UTC().Format(TimeFormat))
    func appendTime(b []byte, t time.Time) []byte {
    	const days = "SunMonTueWedThuFriSat"
    	const months = "JanFebMarAprMayJunJulAugSepOctNovDec"
    
    	t = t.UTC()
    	yy, mm, dd := t.Date()
    	hh, mn, ss := t.Clock()
    	day := days[3*t.Weekday():]
    	mon := months[3*(mm-1):]
    
    	return append(b,
    		day[0], day[1], day[2], ',', ' ',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top