clean up frontend

This commit is contained in:
felix
2026-09-26 18:22:27 +02:00
parent 4c81c21261
commit ac05a5ed2b
10 changed files with 199 additions and 28 deletions

View File

@@ -0,0 +1,16 @@
import { helper } from '@ember/component/helper';
const DATE = new Intl.DateTimeFormat('nl-BE', {
day: '2-digit',
month: '2-digit',
year: 'numeric',
});
const TIME = new Intl.DateTimeFormat('nl-BE', {
hour: '2-digit',
minute: '2-digit',
});
export default helper(([date]) => {
if (!date) return '';
return `${DATE.format(date)} ${TIME.format(date)}`;
});