- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for RFC3339 (0.42 sec)
-
internal/amztime/iso8601_time.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package amztime import ( "strings" "time" ) // RFC3339 a subset of the ISO8601 timestamp format. e.g 2014-04-29T18:30:38Z const ( iso8601TimeFormat = "2006-01-02T15:04:05.000Z" // Reply date format with millisecond precision.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 16 23:38:33 UTC 2023 - 1.9K bytes - Viewed (0) -
tests/update_has_one_test.go
} var user4 User DB.Preload("Account").Find(&user4, "id = ?", user.ID) if lastUpdatedAt.Format(time.RFC3339) == user4.Account.UpdatedAt.Format(time.RFC3339) { t.Fatalf("updated at should be updated, but not, old: %v, new %v", lastUpdatedAt.Format(time.RFC3339), user3.Account.UpdatedAt.Format(time.RFC3339)) } else { user.Account.UpdatedAt = user4.Account.UpdatedAt CheckUser(t, user4, user) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
objectName: "foodir/fooobject",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 55.5K bytes - Viewed (0) -
cmd/metacache.go
console.Debugln("returning", m.id, "due to scan state", m2.status, time.Now().Format(time.RFC3339)) } return } m = m2 if serverDebugLog { console.Debugln("refreshed", m.id, time.Now().Format(time.RFC3339)) } } else if serverDebugLog { console.Debugln("error refreshing", m.id, time.Now().Format(time.RFC3339)) } } } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
cmd/object-api-options.go
retaintimestmp, err = time.Parse(time.RFC3339, retaintimeStr) if err != nil { return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceObjectRetentionTimestamp, err) } } lholdtimeStr := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceObjectLegalHoldTimestamp)) var lholdtimestmp time.Time if lholdtimeStr != "" { lholdtimestmp, err = time.Parse(time.RFC3339, lholdtimeStr) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.3K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
os.Exit(1) } t, err := time.Parse(time.RFC3339, strings.TrimSpace(string(commitUnix))) if err != nil { fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } return t.UTC() } func main() { var version string if len(os.Args) > 1 { version = os.Args[1] } else { version = commitTime().Format(time.RFC3339) } fmt.Println(genLDFlags(version))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
return err } // While AWS documentation mentions that the date specified // must be present in ISO 8601 format, in reality they allow // users to provide RFC 3339 compliant dates. trnDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errTransitionInvalidDate } // Allow only date timestamp specifying midnight GMT hr, m, sec := trnDate.Clock() nsec := trnDate.Nanosecond() loc := trnDate.Location()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/version_test.go
package cmd import ( "testing" "time" ) func TestVersion(t *testing.T) { Version = "2017-05-07T06:37:49Z" _, err := time.Parse(time.RFC3339, Version) if err != nil { t.Fatal(err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 956 bytes - Viewed (0) -
cmd/api-datatypes.go
// empty string otherwise func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if t.IsZero() { return nil } return e.EncodeElement(t.Format(time.RFC3339), startElement) } // ObjectV object version key/versionId type ObjectV struct { ObjectName string `xml:"Key"` VersionID string `xml:"VersionId"` }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 3K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
return err } // While AWS documentation mentions that the date specified // must be present in ISO 8601 format, in reality they allow // users to provide RFC 3339 compliant dates. expDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errLifecycleInvalidDate } // Allow only date timestamp specifying midnight GMT hr, m, sec := expDate.Clock() nsec := expDate.Nanosecond() loc := expDate.Location()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0)