aws: auth: fix date string formatting
* make sure it's always string
This commit is contained in:
parent
5e0c861524
commit
cb41215ec9
|
@ -112,8 +112,8 @@ class AwsAuth
|
|||
@pad(@date.getUTCSeconds()) + "Z"
|
||||
|
||||
timeStampYYYYMMDD: ->
|
||||
@date.getUTCFullYear() +
|
||||
@pad(@date.getUTCMonth() + 1) +
|
||||
@pad(@date.getUTCDate())
|
||||
"#{@date.getUTCFullYear()}" +
|
||||
"#{@pad(@date.getUTCMonth() + 1)}" +
|
||||
"#{@pad(@date.getUTCDate())}"
|
||||
|
||||
export default AwsAuth
|
Loading…
Reference in a new issue