46 years ago – Notes & Discussions

Home Forums Legacy Support Support queries Other issues 46 years ago – Notes & Discussions

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21484
    Katia
    Participant
    Hey guys, I read somewhere on the forum that you were going to fix the issue with the module comments time in the new version. However, it still shows "46 years ago" for all comments. It is quite embarrassing :)) Could you please fix this bug.
    #21727
    H.K. Latiyan
    Participant
    Please share site admin credentials to check and fix this issue. The issue arises from wplms/includes/func.php line number 230 $time_passed = human_time_diff(strtotime(get_comment_date('d.m.Y').' '.get_comment_time()),current_time('timestamp')); however the main point for concern is that it occurs only on few cases, for rest it works absolutely fine.
    #21747
    Katia
    Participant
    Ok, I see. My login credentials are: https://www.pro-smm.academy/wp-admin ekaterina@prosmm Vikusya85#!ProSmmAcademy
    #22741
    H.K. Latiyan
    Participant
    I tried to add the fix but I am not sure where to check the issue to confirm if the issue was fixed. I changed the following code $time_passed = human_time_diff(strtotime(get_comment_date('d.m.Y').' '.get_comment_time()),current_time('timestamp')); to $time_passed = human_time_diff(strtotime(get_comment_date('d-m-Y').' '.get_comment_time()),current_time('timestamp')); Also check if the code is updated or not, if not then please update it your self. 1) go to wp-admin->appearance->editor->wplms theme->func.php 2) search for "human_time_diff" function and change the code (If not changed). 3) please check if the issue is resolved.
    #22758
    Katia
    Participant
    Hi! I checked the code and it is well saved. I tried to resave it once again. However, the issue is still there even though I cleared cache. Here is a link to the lesson where I have several comments with "46 years ago": https://www.pro-smm.academy/unit/vvedenie-kak-sozdat-stranitsu-v-facebook/?id=2143
    #23260
    H.K. Latiyan
    Participant
    I have added the fix on your site and tested it. Now its working fine. Please check. Same is now added in our site and will be released in our next update.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘46 years ago – Notes & Discussions’ is closed to new replies.