Loheide-eu-mitarbeiterplatt.../public/build/assets/format-BsuBtvUs.js
Friederich Loheide bdd21a38cb
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m42s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 4m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m32s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m9s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m41s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m5s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m57s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m59s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m35s
Beiträge mit dem Baukasten der Seiten, Galerie-Großansicht mit Blättern
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 19:43:05 +00:00

1 line
No EOL
1.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var e=new Intl.DateTimeFormat(`de-DE`,{day:`numeric`,month:`long`,year:`numeric`}),t=new Intl.DateTimeFormat(`de-DE`,{day:`numeric`,month:`short`,year:`numeric`}),n=new Intl.DateTimeFormat(`de-DE`,{hour:`2-digit`,minute:`2-digit`});new Intl.DateTimeFormat(`de-DE`,{weekday:`long`,day:`numeric`,month:`long`,year:`numeric`});var r=new Intl.DateTimeFormat(`de-DE`,{month:`short`}),i=new Intl.DateTimeFormat(`de-DE`,{month:`long`,year:`numeric`}),a=new Intl.RelativeTimeFormat(`de-DE`,{numeric:`auto`}),o=t=>e.format(new Date(t)),s=e=>t.format(new Date(e)),c=e=>n.format(new Date(e)),l=e=>i.format(new Date(e));function u(e){let t=(new Date(e).getTime()-Date.now())/1e3,n=Math.abs(t);return n<60?`gerade eben`:n<3600?a.format(Math.round(t/60),`minute`):n<86400?a.format(Math.round(t/3600),`hour`):n<604800?a.format(Math.round(t/86400),`day`):o(e)}function d(e){let t=new Date(e);return{day:t.getDate(),month:r.format(t).replace(`.`,``).toUpperCase()}}function f(e){let t=new Date(e.starts_at),n=e.ends_at?new Date(e.ends_at):null,r=n&&t.toDateString()===n.toDateString();return e.all_day?n&&!r?`${s(e.starts_at)} – ${s(e.ends_at)}`:`${s(e.starts_at)}, ganztägig`:n?r?`${s(e.starts_at)}, ${c(e.starts_at)} – ${c(e.ends_at)} Uhr`:`${s(e.starts_at)}, ${c(e.starts_at)} Uhr – ${s(e.ends_at)}, ${c(e.ends_at)} Uhr`:`${s(e.starts_at)}, ${c(e.starts_at)} Uhr`}export{u as a,l as i,o as n,s as o,f as r,c as s,d as t};