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 cf9f931 commit f160eedCopy full SHA for f160eed
.changelog/2597.txt
@@ -0,0 +1,3 @@
1
+```release-note:enhancement
2
+resource/tencentcloud_gaap_proxy: fix gaap time layout
3
+```
tencentcloud/internal/helper/helper.go
@@ -80,10 +80,10 @@ func BuildToken() string {
80
}
81
82
func FormatUnixTime(n uint64) string {
83
- return time.Unix(int64(n), 0).UTC().Format("2006-01-02T03:04:05Z")
+ return time.Unix(int64(n), 0).UTC().Format("2006-01-02T15:04:05Z")
84
85
func ParseTime(s string) (time.Time, error) {
86
- return time.ParseInLocation("2006-01-02T03:04:05Z", s, time.UTC)
+ return time.ParseInLocation("2006-01-02T15:04:05Z", s, time.UTC)
87
88
89
// compose all schema.SchemaValidateFunc to a schema.SchemaValidateFunc,
0 commit comments