We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e27af69 commit 2f02fc7Copy full SHA for 2f02fc7
SerialPrograms/Source/Integrations/DppIntegration/DppClient.cpp
@@ -1,6 +1,8 @@
1
#ifdef PA_DPP
2
3
#include <set>
4
+#include <locale>
5
+#include <clocale>
6
#include <dpp/dpp.h>
7
#include "Common/Cpp/Json/JsonArray.h"
8
#include "Common/Cpp/Json/JsonObject.h"
@@ -49,6 +51,10 @@ void Client::connect(){
49
51
50
52
std::string token = settings.integration.token;
53
uint32_t intents = intents::i_default_intents | intents::i_guild_members | intents::i_message_content;
54
+
55
+ std::setlocale(LC_TIME, "C");
56
+ std::locale::global(std::locale::classic());
57
58
try{
59
m_bot = std::make_unique<cluster>(token, intents);
60
m_handler = std::make_unique<commandhandler>(m_bot.get(), false);
0 commit comments