Skip to content

Commit

Permalink
Fix datetime string format
Browse files Browse the repository at this point in the history
  • Loading branch information
tschumpr committed May 1, 2024
1 parent 7b75cd1 commit fb4150e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Geodatenbezug/Processor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public async Task<List<Topic>> GetTopicsToProcess()
{
if (topic.UpdatedAt.HasValue)
{
var updatedAtString = topic.UpdatedAt.Value.ToString("G", CultureInfo.InvariantCulture);
var updatedAtString = topic.UpdatedAt.Value.ToString("G", CultureInfo.GetCultureInfo("de-CH"));

var lastProcessed = await azureStorage.GetLastProcessed(topic).ConfigureAwait(false);
if (lastProcessed == null || lastProcessed < topic.UpdatedAt.Value)
Expand Down

0 comments on commit fb4150e

Please sign in to comment.