Skip to content

Commit

Permalink
Explicit seeded value collation
Browse files Browse the repository at this point in the history
Resolves a VS local debugging issue for developers on a different date format
  • Loading branch information
Rahtgaz committed Apr 21, 2023
1 parent d8926e0 commit 88eee58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions FrontDesk/src/FrontDesk.Api/Endpoints/Configuration/Read.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Threading;
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using Microsoft.AspNetCore.Mvc;
Expand All @@ -23,7 +25,7 @@ public Read()
]
public override async Task<ActionResult<string>> HandleAsync(CancellationToken cancellationToken)
{
return Ok(new OfficeSettings().TestDate.ToString());
return Ok(new OfficeSettings().TestDate.ToString(CultureInfo.InvariantCulture));
}
}
}

0 comments on commit 88eee58

Please sign in to comment.