I have a mixin that is used to convert the date into a custom format. I can access this method in the component\'s template section. but I cannot access in the script sectio