Holy vibecode Batman!

This commit is contained in:
shweet committed 2026-05-21 21:00:57 -04:00
1 parent 7db835e6d4
commit 1bc5199e3b
140 files changed
+11888 -9481

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include "time.hpp"
#include <chrono>
#include <ctime>
#include <iomanip>
#include <sstream>
namespace anm2ed::util::time
{
std::string get(const char* format)
{
auto now = std::chrono::system_clock::now();
auto time = std::chrono::system_clock::to_time_t(now);
auto localTime = *std::localtime(&time);
std::ostringstream timeString;
timeString << std::put_time(&localTime, format);
return timeString.str();
}
}