Changed to UTC time for timestamps

This commit is contained in:
Carl Johnsen
2025-02-07 09:56:54 +01:00
parent bb60db47f0
commit 2e134cffeb
+1 -1
View File
@@ -635,7 +635,7 @@ destination will be verified before being overwritten (if they seemingly match).
private static async Task<long> RenameAsync(IBackend b, IEnumerable<IFileEntry> files, Config config)
{
long successful_renames = 0;
string prefix = $"{System.DateTime.Now:yyyyMMddHHmmss}.old";
string prefix = $"{System.DateTime.UtcNow:yyyyMMddHHmmss}.old";
using var downloaded = new MemoryStream();
long i = 0, n = files.Count();