diff --git a/include/ircd/time.h b/include/ircd/time.h index 99f42f9fe..fd963b4f7 100644 --- a/include/ircd/time.h +++ b/include/ircd/time.h @@ -32,7 +32,7 @@ namespace ircd // System microtime suite microtime_t microtime(); - // System formatted time suite + // System formatted time suite (also see util/pretty.h) extern const char *const rfc7231_fmt; string_view timef(const mutable_buffer &out, const struct tm &tm, const char *const &fmt = rfc7231_fmt); string_view timef(const mutable_buffer &out, const time_t &epoch, const char *const &fmt = rfc7231_fmt); diff --git a/include/ircd/util/pretty.h b/include/ircd/util/pretty.h index 3ea2c35a1..3770d96d1 100644 --- a/include/ircd/util/pretty.h +++ b/include/ircd/util/pretty.h @@ -32,7 +32,7 @@ inline namespace util string_view pretty(const mutable_buffer &out, const human_readable_size &, const uint &fmt = 0); std::string pretty(const human_readable_size &, const uint &fmt = 0); - // Human readable time suite (for timers and counts; otherwise see date.h) + // Human readable time suite (for timers and counts; otherwise see ircd/time.h) string_view pretty(const mutable_buffer &out, const nanoseconds &, const uint &fmt = 0); string_view pretty(const mutable_buffer &out, const microseconds &, const uint &fmt = 0); string_view pretty(const mutable_buffer &out, const milliseconds &, const uint &fmt = 0);