mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
add frontend support for the date formatting option
This commit is contained in:
committed by
Constantin Graf
parent
f69bc28316
commit
a076bb2fb0
@@ -43,7 +43,7 @@ const xAxisLabels = computed(() => {
|
||||
if (props.groupedType === 'week') {
|
||||
return props?.groupedData?.map((el) => formatWeek(el.key));
|
||||
}
|
||||
return props?.groupedData?.map((el) => formatDate(el.key ?? ''));
|
||||
return props?.groupedData?.map((el) => formatDate(el.key ?? '', organization?.value?.date_format));
|
||||
});
|
||||
const accentColor = useCssVar('--theme-color-chart', null, { observe: true });
|
||||
const labelColor = useCssVar('--color-text-secondary', null, { observe: true });
|
||||
|
||||
Reference in New Issue
Block a user