feat: migrate app routes and business modules

This commit is contained in:
2026-08-12 18:22:59 +08:00
parent 555aa00043
commit cc706378c2
247 changed files with 28623 additions and 14988 deletions
+7
View File
@@ -0,0 +1,7 @@
const minuteTimestamp = /^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::\d{2})?/;
export const formatMinuteTimestamp = (value) => {
const text = String(value || "").trim();
const match = text.match(minuteTimestamp);
return match ? `${match[1]} ${match[2]}` : text;
};