You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef lnav_humanize_time_hh
|
|
#define lnav_humanize_time_hh
|
|
|
|
#include <string>
|
|
|
|
namespace humanize {
|
|
namespace time {
|
|
|
|
std::string time_ago(time_t last_time, bool convert_local = false);
|
|
|
|
std::string precise_time_ago(const struct timeval &tv, bool convert_local = false);
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|