fix(serialization): Skip backups on first save. Fixes timestamp format (#522)
This commit is contained in:
parent
8d54d273a4
commit
f1c5a098fc
2 changed files with 7 additions and 7 deletions
|
|
@ -1434,11 +1434,6 @@ namespace Server
|
|||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static string GetTimeStamp()
|
||||
{
|
||||
var now = DateTime.UtcNow;
|
||||
|
||||
return $"{now.Year}-{now.Month}-{now.Day} {now.Hour}-{now.Minute:D2}-{now.Second:D2}";
|
||||
}
|
||||
public static string GetTimeStamp() => DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue