- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 118 for UTC (0.01 seconds)
-
cmd/bucket-lifecycle.go
} maps.Copy(meta, objInfo.UserDefined) if len(objInfo.UserTags) != 0 { meta[xhttp.AmzObjectTagging] = objInfo.UserTags } // Set restore object status restoreExpiry := lifecycle.ExpectedExpiryTime(time.Now().UTC(), rreq.Days) meta[xhttp.AmzRestore] = completedRestoreObj(restoreExpiry).String() return ObjectOptions{ Versioned: globalBucketVersioningSys.PrefixEnabled(bucket, object),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
default: ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationStatus] = []byte(fi.ReplicationState.ReplicationStatusInternal) ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp] = []byte(fi.ReplicationState.ReplicationTimeStamp.UTC().Format(time.RFC3339Nano)) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
internal/config/dns/etcd_dns.go
} // Put - Adds DNS entries into etcd endpoint in CoreDNS etcd message format. func (c *CoreDNS) Put(bucket string) error { c.Delete(bucket) // delete any existing entries. t := time.Now().UTC() for ip := range c.domainIPs { bucketMsg, err := newCoreDNSMsg(ip, c.domainPort, defaultTTL, t) if err != nil { return err } for _, domainName := range c.domainNames {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
internal/config/identity/openid/jwt.go
if _, err := auth.ExpToInt64(expStr); err != nil { return err } defaultExpiryDuration, err := GetDefaultExpiration(dsecs) if err != nil { return err } claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry. return nil } const ( audClaim = "aud" azpClaim = "azp" ) // Validate - validates the id_token.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
scripts/people.py
three_months_commenters = Counter[str]() six_months_commenters = Counter[str]() one_year_commenters = Counter[str]() authors: dict[str, Author] = {} now = datetime.now(tz=timezone.utc) one_month_ago = now - timedelta(days=30) three_months_ago = now - timedelta(days=90) six_months_ago = now - timedelta(days=180) one_year_ago = now - timedelta(days=365)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/bucket/object/lock/lock.go
// but only used when we do not wish to rely on system // time. func UTCNowNTP() (time.Time, error) { // ntp server is disabled if ntpServer == "" { return time.Now().UTC(), nil } return ntp.Time(ntpServer) } // Retention - bucket level retention configuration. type Retention struct { Mode RetMode Validity time.Duration LockEnabled bool }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.9K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration.go
} // Allow only date timestamp specifying midnight GMT hr, m, sec := expDate.Clock() nsec := expDate.Nanosecond() loc := expDate.Location() if hr != 0 || m != 0 || sec != 0 || nsec != 0 || loc.String() != time.UTC.String() { return errLifecycleDateNotMidnight } *eDate = ExpirationDate{expDate} return nil } // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
private static String formatDate(Date date, boolean forSnapshotTimestamp) { // logic from metadata.mdo, class "Versioning" TimeZone timezone = TimeZone.getTimeZone("UTC"); DateFormat fmt = new SimpleDateFormat(forSnapshotTimestamp ? DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT : DEFAULT_DATE_FORMAT); fmt.setCalendar(new GregorianCalendar());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 13.7K bytes - Click Count (0) -
compat/maven-model-builder/src/site/apt/index.apt
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 03 08:42:52 GMT 2025 - 13.2K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
fis[i].NumVersions = numVersions[i] } quorum-- if quorum == 0 { break } } return fis } commonSuccModTime := time.Date(2023, time.August, 25, 0, 0, 0, 0, time.UTC) succModTimesInQuorum := make([]time.Time, 16) succModTimesNoQuorum := make([]time.Time, 16) commonNumVersions := 2 numVersionsInQuorum := make([]int, 16) numVersionsNoQuorum := make([]int, 16)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0)