Skip to content

Commit

Permalink
Always show DateTime strings in English
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 23, 2023
1 parent 1779056 commit c218656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Bloxstrap/Extensions/DateTimeEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ static class DateTimeEx
{
public static string ToFriendlyString(this DateTime dateTime)
{
return dateTime.ToString("dddd, d MMMM yyyy 'at' h:mm:ss tt");
return dateTime.ToString("dddd, d MMMM yyyy 'at' h:mm:ss tt", CultureInfo.InvariantCulture);
}
}
}
1 change: 1 addition & 0 deletions Bloxstrap/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
global using System;
global using System.Collections.Generic;
global using System.Diagnostics;
global using System.Globalization;
global using System.IO;
global using System.IO.Compression;
global using System.Text;
Expand Down

0 comments on commit c218656

Please sign in to comment.