Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

Commit ce2ffad

Browse files
committed
修复 (CloudReve):在 last_modified 中使用毫秒时间戳 (AlistGo#8133))
1 parent 125e591 commit ce2ffad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cloudreve/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (d *Cloudreve) Put(ctx context.Context, dstDir model.Obj, stream model.File
149149
"size": stream.GetSize(),
150150
"name": stream.GetName(),
151151
"policy_id": r.Policy.Id,
152-
"last_modified": stream.ModTime().Unix(),
152+
"last_modified": stream.ModTime().UnixMilli(),
153153
}
154154

155155
// 获取上传会话信息

0 commit comments

Comments
 (0)