mirror of
https://github.com/rclone/rclone.git
synced 2025-01-14 10:19:57 +01:00
local: fix equality check for times
This commit is contained in:
parent
4d081ec87e
commit
245edd1b0e
@ -772,7 +772,7 @@ func (o *Object) setMetadata(info os.FileInfo) {
|
||||
if o.size != info.Size() {
|
||||
o.size = info.Size()
|
||||
}
|
||||
if o.modTime != info.ModTime() {
|
||||
if !o.modTime.Equal(info.ModTime()) {
|
||||
o.modTime = info.ModTime()
|
||||
}
|
||||
if o.mode != info.Mode() {
|
||||
|
Loading…
Reference in New Issue
Block a user