mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Library updates
This commit is contained in:
@@ -42,7 +42,7 @@ const fileNameFromPath = (path: string) => {
|
||||
return path.replace(/^.*[\\/]/, "");
|
||||
};
|
||||
|
||||
const getAge = (dateString?: string, 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