ap_human_time always compare $time with a GMT current_time
Hello,
The ap_human_time function compares $time with current_time( ‘timestamp’, true ).
This means that the local $time is being compared against a GMT current time instead of the local current time.
current_time( ‘timestamp’, true ) in ap_human_time needs to be changed to current_time( ‘timestamp’, false ).
Thanks,
@awijasa
Question is closed for new answers.
awijasa selected answer
Hello @awijasa,
Thanks for reporting. I need to add test case for verifying ap_human_time() then I will check this issue.