mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
flood to 2 next day closest floodfills before UTC midnight
This commit is contained in:
@@ -255,6 +255,11 @@ namespace util
|
||||
GetDateString (GetSecondsSinceEpoch (), date);
|
||||
}
|
||||
|
||||
void GetNextDayDate (char * date)
|
||||
{
|
||||
GetDateString (GetSecondsSinceEpoch () + 24*60*60, date);
|
||||
}
|
||||
|
||||
void GetDateString (uint64_t timestamp, char * date)
|
||||
{
|
||||
using clock = std::chrono::system_clock;
|
||||
|
||||
Reference in New Issue
Block a user