decord/alpha/source/modules/safety_flows/pendingRequestTimestamp.tsx

27 lines
1 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 18572
// Function ID: 18573
// Name: pendingRequestTimestamp
2026-10-09 10:00:15 +00:00
// Dependencies: [1126, 2859, 7723, 2]
2026-07-20 16:05:17 +00:00
// Exports: formatPendingRequestSentText
2026-10-09 10:00:15 +00:00
// Module 18572 (pendingRequestTimestamp)
2026-10-03 08:58:59 +00:00
import intl3 from "intl" /* 1126 */;
2026-10-08 09:57:35 +00:00
import _modDef2859 from "module_2859" /* 2859 */;
2026-10-09 10:00:15 +00:00
import FamilyCenterUtils from "FamilyCenterUtils" /* 7723 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-07-20 16:05:17 +00:00
function SENT_TIMESTAMP_FORMATTER() {
2026-10-03 08:58:59 +00:00
let intl;
let intl2;
2026-10-08 09:57:35 +00:00
const time = { seconds: intl.string(_modDef2859.M4NOO3), minutes: _modDef2859["9nem85"], hours: _modDef2859.sJjWRY, yesterday: intl2.string(_modDef2859["7SxW32"]), days: _modDef2859.tVHevX, date: _modDef2859.q6jzya };
2026-10-03 08:58:59 +00:00
intl = intl3.intl;
intl2 = intl3.intl;
return time;
2026-07-20 16:05:17 +00:00
}
const result = size.fileFinishedImporting("modules/safety_flows/pendingRequestTimestamp.tsx");
2026-07-20 16:05:17 +00:00
export const formatPendingRequestSentText = function formatPendingRequestSentText(created_at) {
2026-10-03 08:58:59 +00:00
const obj = FamilyCenterUtils;
return obj.formatLinkTimestamp(Date.parse(created_at), SENT_TIMESTAMP_FORMATTER);
2026-07-20 16:05:17 +00:00
};