mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
added details, deathdate, hair color, weight to performers and added details to studios (#1274)
* added details to performers and studios * added deathdate, hair_color and weight to performers * Simplify performer/studio create mutations * Add changelog and recategorised Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -83,7 +83,7 @@ const stringToDate = (dateString: string) => {
|
||||
return new Date(year, monthIndex, day, 0, 0, 0, 0);
|
||||
};
|
||||
|
||||
const getAge = (dateString?: string | null, fromDateString?: string) => {
|
||||
const getAge = (dateString?: string | null, fromDateString?: string | null) => {
|
||||
if (!dateString) return 0;
|
||||
|
||||
const birthdate = stringToDate(dateString);
|
||||
|
||||
Reference in New Issue
Block a user