mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Beggining of a function for date&time formatted output
This commit is contained in:
@ -62,6 +62,10 @@ char* strstrmulti(const char *haystack, const char *needles, const char *separat
|
||||
// Returns nicely formatted string for byte sizes e.g. "1.2 kB" for size=1284
|
||||
const char* nice_size(double size);
|
||||
|
||||
// Returns nicely formatted string for date and time given in seconds since
|
||||
// Epoch. This should be in config
|
||||
const char* nice_time(long int epoch);
|
||||
|
||||
// Create vector from string using separator
|
||||
//std::vector<char*> vec_from_string(const char *str, const char *separator);
|
||||
|
||||
|
Reference in New Issue
Block a user