feat: migrate app routes and business modules
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user