You need to enable JavaScript to run this app.
导航

0007-00000408

最近更新时间2024.03.18 14:51:52

首次发布时间2024.01.05 16:32:18

问题描述

配置的生命周期规则中,Transitions 字段的 Date 参数取值非 UTC 零点。

问题原因

配置的生命周期规则中,Transition 字段的 Date 参数取值非 UTC 零点。

问题示例
{
    "Rules": [{
      "ID": "id",
      "Prefix": "prefix",
      "Status": "Enabled",
      "Transitions": [
        {
          "StorageClass": "IA",
          "Date": "2024-02-27T08:00:00.000Z",
        }
      ]
    }]
}

解决方案

设置 Date 的值为 2024-02-27T00:00:00.000Z 格式,即 UTC 零点。