by nicpottier · 13y ago · 0 comments
One that fails rather badly:
format dates django templates Returns simply "date", despite StackOverflow having lots of hits: http://stackoverflow.com/search?q=format+dates+django+templa...
But some others are super cool:
create datetime from epoch >>> datetime.datetime.fromtimestamp(1284286794)
One suggestion is that by default I would include the link to the stackoverflow page.
Some color might be nice to make it extra sexy, look at the colorama package to do it easily cross platform.
howdoi format dates django templates -p3
Excellent idea for colorization! I've already got that suggestion on the github page -> https://github.com/gleitz/howdoi/issues/4