mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Prettier
This commit is contained in:
@@ -42,7 +42,7 @@ const fileNameFromPath = (path: string) => {
|
||||
return path.replace(/^.*[\\/]/, "");
|
||||
};
|
||||
|
||||
const getAge = (dateString?: string|null, fromDateString?: string) => {
|
||||
const getAge = (dateString?: string | null, fromDateString?: string) => {
|
||||
if (!dateString) return 0;
|
||||
|
||||
const birthdate = new Date(dateString);
|
||||
|
||||
Reference in New Issue
Block a user