Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addDate (0.18 sec)

  1. cmd/bucket-replication_test.go

    				VersionID:         "a3348c34-c352-4498-82f0-1098e8b34df9",
    				UserDefined:       map[string]string{xhttp.MinIOReplicationResetStatus: fmt.Sprintf("%s;%s", UTCNow().AddDate(0, 0, -1).Format(http.TimeFormat), "abc")},
    				ModTime:           UTCNow().AddDate(0, 0, -2),
    			},
    			expectedSync: true,
    			dsc:          ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/signature-v4_test.go

    			expected: ErrUnsignedHeaders,
    		},
    		// (4) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":      signV4Algorithm,
    				"X-Amz-Date":           now.AddDate(0, 0, -2).Format(iso8601Format),
    				"X-Amz-Expires":        "60",
    				"X-Amz-Signature":      "badsignature",
    				"X-Amz-SignedHeaders":  "host;x-amz-content-sha256;x-amz-date",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    			// Do not change any configuration
    			// upon NTP failure.
    			return r
    		}
    
    		if config.Rule.DefaultRetention.Days != nil {
    			r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t)
    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication-handlers.go

    				Bucket: bucket,
    				Err:    fmt.Errorf("invalid query parameter older-than %s for %s : %w", durationStr, bucket, err),
    			}), r.URL)
    			return
    		}
    	}
    	resetBeforeDate := UTCNow().AddDate(0, 0, -1*int(days/24))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    required fields",badTime:"You have not given a correct time",badEmail:"You have not given a correct e-mail address",badTelephone:"You have not given a correct phone number",badSecurityAnswer:"You have not given a correct answer to the security question",badDate:"You have not given a correct date",lengthBadStart:"The input value must be between ",lengthBadEnd:" characters",lengthTooLongStart:"The input value is longer than ",lengthTooShortStart:"The input value is shorter than ",notConfirmed:"Input values...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
Back to top