-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Lines 121 to 126 in d0aa868
| { | |
| ExpiredTime: '20191121T102857Z', | |
| SessionToken: 'xxx', | |
| AccessKeyId: 'xxx', | |
| SecretAccessKey: 'xxx' | |
| } |
用 v1.3.9 在轻服务里实际跑了下,结果如下
{
ExpiredTime: '4/27/2020, 7:20:54 AM'
}应该是这边用 toLocaleString 的关系吧 🤔,不过这个 signsts2 计算后的 token 会到前端去,虽然也能解析,但这种格式存在丢掉时区信息的情况,为何不直接用时间戳嘞
vcloud-sdk-nodejs/src/core/index.ts
Line 190 in d0aa868
| const ExpiredTime = new Date(timeInMilles).toLocaleString(); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels