Fix: Date now show correctly in categories page.

Added new function for categories date.