• Resolved rgosse75

    (@rgosse75)


    Hello,

    Great plugin!

    The time does not show am or pm for the time.

    Is there a way to do that?

    Can I paste something in the php maybe to make the time display more specific?

    If there is a change to the right line on the php file I am sure that am/pm can display but I need to know which line to change.

    Please help, thanks.

    Cheers!

    • This topic was modified 7 years ago by rgosse75.
Viewing 1 replies (of 1 total)
  • Plugin Author Faiyaz Alam

    (@faiyazalam)

    Hi,

    Just give your date format in second parameter of the function “ulh_convertToUserTime”;

    File path: user-login-history/user-login-history.php

    `public function column_default($item, $column_name) {
    ……………
    ……………
    ……………
    case ‘time_login’:
    return ulh_convertToUserTime($item[$column_name], ‘YOUR-DATE-TIME-FORMAT’, $timezone);
    ……………
    ……………
    ……………

    }`

    thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Time Stamp’ is closed to new replies.