github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2020-07-01 09:08 pm

[dreamwidth/dw-free] 86d12d: make lastmodtime in FAQ preview look more like in ...

Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: 86d12d3a05393c4e9d2c2facbdacd0269608ef81
https://github.com/dreamwidth/dw-free/commit/86d12d3a05393c4e9d2c2facbdacd0269608ef81
Author: Kareila <kareila@dreamwidth.org>
Date: 2020-07-01 (Wed, 01 Jul 2020)

Changed paths:
M cgi-bin/DW/Controller/Admin/FAQ.pm

Log Message:
-----------
make lastmodtime in FAQ preview look more like in LJ::Faq->load

When previewing changes to a FAQ, the time shown is the full date and time, which is a bit jarring since the final FAQ display just shows the date. So this fixes the TODO to make it look more similar.

(It's not identical because strftime doesn't have a format for 1st, 2nd, etc which is language specific. LJ::Faq->load uses MySQL's DATE_FORMAT when reading the date from the database, but since this is a preview page, we haven't saved it to the database yet.)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org