You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
340 B
10 lines
340 B
using System.Globalization;
|
|
|
|
namespace DiscordChatExporter.Gui.Utils;
|
|
|
|
internal static class Internationalization
|
|
{
|
|
public static bool Is24Hours =>
|
|
string.IsNullOrWhiteSpace(CultureInfo.CurrentCulture.DateTimeFormat.AMDesignator) &&
|
|
string.IsNullOrWhiteSpace(CultureInfo.CurrentCulture.DateTimeFormat.PMDesignator);
|
|
} |