|
ORE Studio 0.0.4
|
Helper class for formatting recorded_at timestamps as relative time. More...
#include <RelativeTimeHelper.hpp>

Static Public Member Functions | |
| static QString | format (const std::string &recorded_at) |
| Formats a recorded_at timestamp string as relative time. | |
| static QString | format (const QString &recorded_at) |
| Formats a recorded_at QString as relative time. | |
Helper class for formatting recorded_at timestamps as relative time.
Provides convenience functions to convert ISO date/time strings to human-readable relative time strings like "5 minutes ago" or "yesterday".
|
static |
Formats a recorded_at timestamp string as relative time.
Supports multiple input formats:
| recorded_at | The timestamp string to format. |

|
static |
Formats a recorded_at QString as relative time.
| recorded_at | The timestamp string to format. |