ap_human_time always compare $time with a GMT current_time

Solved4.51K viewsIssuesbug
0

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.
selected answer