fix: TimeZoneをGMTに変更

This commit is contained in:
usbharu 2023-03-31 16:34:47 +09:00
parent 97db6745f3
commit 0de6182e0c
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class HttpSignaturePluginConfig {
val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginConfig) { val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginConfig) {
val keyMap = pluginConfig.keyMap val keyMap = pluginConfig.keyMap
val format = SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US) val format = SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US)
format.timeZone = TimeZone.getTimeZone("GMT")
onRequest { request, body -> onRequest { request, body ->