2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 16:10:59 +08:00

fix(容器): 正确解析卷创建时间

This commit is contained in:
耗子
2024-03-20 01:41:37 +08:00
parent 9b6c9484e4
commit 3bc3efe59c

View File

@@ -955,7 +955,7 @@ func (r *ContainerController) VolumeList(ctx http.Context) http.Response {
}
items = append(items, map[string]any{
"id": item.Name,
"created": item.CreatedAt,
"created": carbon.Parse(item.CreatedAt).ToDateTimeString(),
"driver": item.Driver,
"mount": item.Mountpoint,
"labels": item.Labels,