mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
split messages from the same author after 10 mins
This commit is contained in:
@@ -41,7 +41,7 @@ bool Snowflake::IsValid() const {
|
||||
}
|
||||
|
||||
std::string Snowflake::GetLocalTimestamp() const {
|
||||
const time_t secs_since_epoch = (m_num / 4194304000) + 1420070400;
|
||||
const time_t secs_since_epoch = (m_num / SecondsInterval) + DiscordEpochSeconds;
|
||||
const std::tm tm = *localtime(&secs_since_epoch);
|
||||
std::stringstream ss;
|
||||
const static std::locale locale("");
|
||||
|
||||
Reference in New Issue
Block a user