mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +00:00
split rpcs3 and hle libraries
merge rpcs3 utilities
This commit is contained in:
parent
b33e2662b6
commit
62ad27d1e2
1233 changed files with 7004 additions and 3819 deletions
11
rpcs3/util/date_time.cpp
Normal file
11
rpcs3/util/date_time.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "stdafx.h"
|
||||
#include "date_time.h"
|
||||
|
||||
#include <chrono>
|
||||
|
||||
template <>
|
||||
void fmt_class_string<std::chrono::sys_time<typename std::chrono::system_clock::duration>>::format(std::string& out, u64 arg)
|
||||
{
|
||||
const std::time_t dateTime = std::chrono::system_clock::to_time_t(get_object(arg));
|
||||
out += date_time::fmt_time("%Y-%m-%dT%H:%M:%S", dateTime);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue