We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beae4df commit 456f9b2Copy full SHA for 456f9b2
post-policy.go
@@ -417,7 +417,7 @@ func (p PostPolicy) String() string {
417
418
// marshalJSON - Provides Marshaled JSON in bytes.
419
func (p PostPolicy) marshalJSON() []byte {
420
- expirationStr := `"expiration":"` + p.expiration.Format(expirationDateFormat) + `"`
+ expirationStr := `"expiration":"` + p.expiration.UTC().Format(expirationDateFormat) + `"`
421
var conditionsStr string
422
conditions := []string{}
423
for _, po := range p.conditions {
0 commit comments