Cascadia-Connections / gybitg

Get your Butt in the Gym
MIT License
1 stars 1 forks source link

Athlete Profile crashing #103

Closed keithrutler closed 5 years ago

keithrutler commented 5 years ago

When an athlete clicks on the 'My Profile' button, the app crashes. This is caused by the change of the Date of Birth from being a DateTime, to being a String variable. DoD: When the Athlete can properly view their own profile

keithrutler commented 5 years ago

The AthleteProfilePartial View was looking for a DateTime.Year. I have changed this to look for a String variable which the rest of the app uses for the Dates. Also I changed the Display Name for the athletes birthday from showing 'Age' to showing 'Birthdate', since it doesn't show an age, it shows the DateOfBirth variable DoD has been met since the app no longer crashes when an Athlete clicks the 'My Profile' button to view their outward facing Profile view.