Open athimannil opened 6 years ago
Is there any option in angular-moment to show the user age
Here is the current one {{'1980-05-15'| amDifference : null : 'years'}} which show -37
{{'1980-05-15'| amDifference : null : 'years'}}
Looking for solution without minus.
Hello, have you found the solution? you can times -1 to eliminate the minus sign {{('1980-05-15'| amDifference : null : 'years') * -1}}
{{('1980-05-15'| amDifference : null : 'years') * -1}}
Is there any option in angular-moment to show the user age
Here is the current one
{{'1980-05-15'| amDifference : null : 'years'}}
which show -37Looking for solution without minus.