• Resolved jf_bertrand

    (@jf_bertrand)


    Hi!

    Just a quick addition that would be nice to include in future release… In the chat window, the date/time of the messages are not being translated and the format cannot be specified ( at least that I am aware of).

    A suggestion might be to modify functions.php (line 715 in my release)
    from : $timeshow = date(‘l, F d Y h:i A’,$timestamp);
    to: $timeshow = date_i18n( get_option( ‘date_format’ ) .’ ‘.get_option( ‘time_format’ ), $timestamp );

    This would allow translation and the formats will be those set in WordPress General settings.

    Great plugin ! ??

    https://www.ads-software.com/plugins/wp-live-chat-support/

Viewing 1 replies (of 1 total)
  • Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi jf_bertrand

    Thank you SO much for sending through this suggestion, along with the code.

    We’ll test this out and see if we can add it into the next update we release.

Viewing 1 replies (of 1 total)
  • The topic ‘Chat window date localization’ is closed to new replies.