2016-03-27, 07:47 PM
Not sure if this needs to be considered a bug, but posting it here, because to me it looks like one.
This bug only occurs when not the relative time format, but the time format from settings is used. It might be possible, that this is not the case anywhere in the code, then it would be no bug, but dead code ^^
https://github.com/mybb/mybb/blob/featur...s.php#L482 Only today / yesterday is rendered, but no exact time.
For relative time the exact time is added in case it is more than 12h ago https://github.com/mybb/mybb/blob/featur...s.php#L474
I traced it down to the commit, where the my_date function was adapted to support relative time at to me it looks like adding the time has been forgotten for non relative timestamps ...
https://github.com/mybb/mybb/commit/508f...cbe5b9L391
This bug only occurs when not the relative time format, but the time format from settings is used. It might be possible, that this is not the case anywhere in the code, then it would be no bug, but dead code ^^
https://github.com/mybb/mybb/blob/featur...s.php#L482 Only today / yesterday is rendered, but no exact time.
For relative time the exact time is added in case it is more than 12h ago https://github.com/mybb/mybb/blob/featur...s.php#L474
I traced it down to the commit, where the my_date function was adapted to support relative time at to me it looks like adding the time has been forgotten for non relative timestamps ...
https://github.com/mybb/mybb/commit/508f...cbe5b9L391