refactors stock show page by taking out datetime attribute