-
Notifications
You must be signed in to change notification settings - Fork 1
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: Update blog page date field and date format #21
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
When I create a new blog post, the time is set to 04:41, it would be nice if it automatically set it to the current time |
It's probably set to some American time (minutes are correct right?).. 😓 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Hmmm... no I don't have that problem :P Maybe we can merge it and deploy it to the test environment and see how it behaves there? Or... maybe restart your server to incorporate the new settings from |
Update the `date` field in the `BlogPage` model to use `DateTimeField` instead of `DateField`. This change allows for more precise timestamp information for blog posts and a better sort order on the index page.
Update the date format in the `blog_index_page.html` and `blog_page.html` templates to include the time in addition to the date. This change provides more precise timestamp information for blog posts.
2a8019e
to
2a00d23
Compare
I have made changes to the
BlogPage
model to update thedate
field to useDateTimeField
instead ofDateField
. This change allows for more precise timestamp information for blog posts and a better sort order on the index page. Additionally, I have updated the date format in theblog_index_page.html
andblog_page.html
templates to include the time in addition to the date. This change provides more precise timestamp information for blog posts.Resolves #17