WBCE CMS – Way Better Content Editing.
Du bist nicht angemeldet.
WBCE CMS 1.6.9 verfügbar / available - wichtiges Sicherheitsudate / important security update
Is there a way to show the AM / PM for "Last Login" time?
Offline
Yes. In the modules/userstat/tool.php, change line 92
'LAST_LOGIN' => date((($row['login_when'] == 0) ? ' ' : $LANG[0]['DATE_FORMAT']), (int) $row['login_when']),to
'LAST_LOGIN' => date((($row['login_when'] == 0) ? ' ' : DATE_FORMAT.' '.TIME_FORMAT), (int) $row['login_when']),Actually, the tool is obsolete, the core "Account and Signups configuration" admin tool shows the same information.
Nevertheless, the Signup tool has the same issue, so if you use that, change line 44 of /modules/tool_account_settings/theme/tool_overview.twig
<small>{% if rec['login_when'] %}{{ rec['login_when']|date(DATE_FORMAT ~' H:i')}}{% else %}N/A{% endif %}</small></nobr>to
<small>{% if rec['login_when'] %}{{ rec['login_when']|date(DATE_FORMAT ~' '~ TIME_FORMAT)}}{% else %}N/A{% endif %}</small></nobr>Offline
losttrip
Thank you for the heads up on "Account and Signups configuration", I had never noticed it. I guess I need to look around a bit more at wbce 1.5.
Oddly, Account and Signups configuration shows a 24 hour time, so I do not have the same issue.
Offline