mirror of https://github.com/usbharu/Hideout.git
fix: TimeZoneをGMTに変更
This commit is contained in:
parent
97db6745f3
commit
0de6182e0c
|
@ -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 ->
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue