Function timeToAgoString

#include <Geode/utils/general.hpp>std::stringtimeToAgoString(,
boolabbreviated
)

Converts a time point to a relative string in a format like “2 days ago”

Parameters

abbreviated

If true, the string is abbreviated to "2d" etc.
Examples0