Initial commit (secrets isolated)

This commit is contained in:
2026-09-25 20:39:33 +10:00
commit c900c80afb
74 changed files with 3094 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
String format_duration(time_t seconds)
{
auto days = seconds / (60 * 60 * 24);
auto tm = gmtime(&seconds);
String duration = days > 0 ? String(days) + " days, " : "";
char time_buff[9];
strftime(time_buff, 9, "%H:%M:%S", tm);
return duration + time_buff;
}