Added smart_date template tag