Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Customizing Django Templates Building Custom Tags Use the Date Filter

rajan lagah
rajan lagah
2,539 Points

Using the date filter, render timestamp with the format "m/d/y, H:i". (That's 2-digit month, day, and year, hour in 24-h

howww to solve it?

code_challenges/templates/code_challenges/list.html
{{timestamp:"m/d/y, H:i"}}

1 Answer

The code you're looking for is {{timestamp|date:"m/d/y, H:i"}} , you forgot to add the 'date' filter. Good luck!

rajan lagah
rajan lagah
2,539 Points

o thanku sir, thanku for your time.