PageSourceSearch

https://aiscan.site/assets/datetime-DEDbLob7.js

js aiscan.site collected 2026-10-02 01:08:49 UTC 972 bytes, 1 lines download raw bytes

1const i={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",timeZone:"UTC"};function f(t){try{return`${new Date(t).toLocaleString("en-GB",i)} UTC`}catch{return t}}function h(t){return t.toLocaleString("en-US")}function s(t){try{return new Date(t).toLocaleDateString("en-GB",{year:"numeric",month:"short",day:"numeric",timeZone:"UTC"})}catch{return t}}function d(t){try{return new Date(t).toLocaleDateString("en-GB",{day:"numeric",month:"short",timeZone:"UTC"})}catch{return t}}function g(t){if(!t)return"";const u=new Date(t).getTime();if(!Number.isFinite(u))return"";const c=Date.now()-u;if(c<1e4)return"just now";const n=Math.max(1,Math.round(c/1e3));if(n<60)return`${n}s ago`;const r=Math.round(n/60);if(r<60)return`${r}m ago`;const e=Math.round(r/60);if(e<24)return`${e}h ago`;const o=Math.round(e/24);if(o<30)return`${o}d ago`;const a=Math.round(o/30);return a<12?`${a}mo ago`:`${Math.round(a/12)}y ago`}export{s as a,h as b,d as c,f,g as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.