server: drop the now unused ctime include

strftime() and gmtime_r() were the only users, both went away with the
get_datetime tool. Also make the renderer's catch inert: the browser
executor always emits JSON, so a non-JSON result is no longer a date to
display.
This commit is contained in:
Pascal
2026-08-17 14:27:18 +02:00
parent 480fedca78
commit f990aa7065
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -8,7 +8,6 @@
#include <regex>
#include <thread>
#include <chrono>
#include <ctime>
#include <atomic>
#include <cstring>
#include <cctype>
@@ -33,7 +33,7 @@
if (typeof obj.result === 'string') return { dateString: obj.result.trim() };
}
} catch {
return { dateString: toolResultString.trim() };
// not JSON - nothing to show
}
return {};