mirror of
https://github.com/Dannecron/ich-lerne-deutsch.git
synced 2025-12-25 12:52:35 +03:00
Fix formatted date filter
This commit is contained in:
@@ -10,8 +10,8 @@ export const buildDate = (value) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const formattedDate = (value) => {
|
const formattedDate = (value) => {
|
||||||
const buildDate = buildDate(value);
|
const date = buildDate(value);
|
||||||
return buildDate ? buildDate.toLocaleDateString() : null;
|
return date ? date.toLocaleDateString() : null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default formattedDate;
|
export default formattedDate;
|
||||||
Reference in New Issue
Block a user