Skip to content

Commit

Permalink
feat: enforce consistent CardDefs timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
azeier committed Feb 7, 2025
1 parent 37253d2 commit 0ab1e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HearthDb.CardDefsDownloader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static void Main(string[] args)

var etag = response.Headers.ETag.Tag;
var lastModified = response.Content.Headers.LastModified;
File.WriteAllText(Path.Combine(outdir, "CardDefs.base.etag"), $"{etag}\n{lastModified.ToString()}");
File.WriteAllText(Path.Combine(outdir, "CardDefs.base.etag"), $"{etag}\n{lastModified.Value:yyyy-MM-dd hh:mm:ss tt zzzz}");
}
}
}

0 comments on commit 0ab1e2e

Please sign in to comment.