mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Always show DateTime strings in English
This commit is contained in:
parent
1779056655
commit
c218656cb8
@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
public static string ToFriendlyString(this DateTime dateTime)
|
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,6 +1,7 @@
|
|||||||
global using System;
|
global using System;
|
||||||
global using System.Collections.Generic;
|
global using System.Collections.Generic;
|
||||||
global using System.Diagnostics;
|
global using System.Diagnostics;
|
||||||
|
global using System.Globalization;
|
||||||
global using System.IO;
|
global using System.IO;
|
||||||
global using System.IO.Compression;
|
global using System.IO.Compression;
|
||||||
global using System.Text;
|
global using System.Text;
|
||||||
|
Loading…
Reference in New Issue
Block a user