XF 2.1 Time format shown with posts

Alan_SP

Active member
How can we change time format that is shown everywhere (time of posts, etc).

I looked in ACP, in my profile (in phpBB you can change how you see time beside forum default), I maybe overlooked it. Is there possibility to change time format? Also, I would like that time is not shown like today, yesterday, but that I always see full date with time. Examples below:

Friday, 17.12.2019. 17:05:34
17.12.2019.
17. Dec. 2019. 17:05
...
 

Alan_SP

Active member
vB has special date and time page in settings, with this as example:

Format For Date
Format in which the date is presented on vBulletin pages:

See: http://www.php.net/manual-lookup.php?function=date

Examples:
US Format (e.g., 04-25-98): m-d-y
Expanded US Format (e.g., April 25th, 1998): F jS, Y
European Format (e.g., 25-04-98): d-m-y
Expanded European Format (e.g., 25th April 1998): jS F Y
Format For Time
Format in which the time is presented on all vBulletin pages:

See: http://www.php.net/manual-lookup.php?function=date

Examples:
AM/PM Time Format (eg, 11:15 PM): h:i A
24-Hour Format Time (eg, 23:15): H:i
Format For Registration Date

phpBB allows even that each user sets own preferences.
 

Alan_SP

Active member
Thanks, this was a bit not obvious to me.

I have one more question, when I use this format: l, d.m.Y - H:i:s I get this for older posts:
  • Tuesday, 10.12.2019 - 12:56:49
But, newer post only day, not date, i.e.:
  • Monday at 21:24:28
Mouse hover shows date, but it is not visible without hovering. Is there setting for something like this?
 
Top