diff --git a/packages/dm-core/src/components/Table/TableRow/TableCell/TableCell.tsx b/packages/dm-core/src/components/Table/TableRow/TableCell/TableCell.tsx index 511426c31..83e21eb27 100644 --- a/packages/dm-core/src/components/Table/TableRow/TableCell/TableCell.tsx +++ b/packages/dm-core/src/components/Table/TableRow/TableCell/TableCell.tsx @@ -86,14 +86,17 @@ export function TableCell(props: TableCellProps) { onChange={(date) => updateItem(column.data, date, 'datetime')} /> ) : value ? ( - DateTime.fromISO(value).toLocaleString({ - day: '2-digit', - month: '2-digit', - year: '2-digit', - hour: '2-digit', - minute: '2-digit', - hourCycle: 'h23', - }) + DateTime.fromISO(value).toLocaleString( + { + day: '2-digit', + month: '2-digit', + year: '2-digit', + hour: '2-digit', + minute: '2-digit', + hourCycle: 'h23', + }, + { locale: 'nb' } + ) ) : ( '-' )}