Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added current datetime as output in Django devserver as per ticket 18611 #236

Closed
wants to merge 1 commit into from

Conversation

mgrouchy
Copy link
Contributor

@mgrouchy
Copy link
Contributor Author

thoughts?

"Django version %(version)s, using settings %(settings)r\n"
"Development server is running at http://%(addr)s:%(port)s/\n"
"Quit the server with %(quit_command)s.\n"
) % {
"started_at": strftime('%B %d, %Y - %I:%M %p',
datetime.timetuple(datetime.now())),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simpler: datetime.now().strftime(''%B %d, %Y - %X')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much simpler, thanks for the feedback. Updated!

@mgrouchy
Copy link
Contributor Author

Updated as per feedback from @mjtamlyn.

@mjtamlyn
Copy link
Member

Looks good, I've marked the ticket as RFC.

@claudep
Copy link
Member

claudep commented Sep 10, 2012

Committed in cb1614f

@claudep claudep closed this Sep 10, 2012
sztrovacsek pushed a commit to sztrovacsek/django that referenced this pull request Mar 7, 2015
nanuxbe pushed a commit to nanuxbe/django that referenced this pull request Jul 2, 2016
Added a non-permanent redirect for /overview/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants