Time Format Change
-
Hello, i want to change Time Format in UTC+1 to show the Word “Uhr” instead of “am” “pm”.
I currently deleted am + pm. An attempt to enter the word “Uhr” only displayed the lower case, ie “uhr”.
Who can tell me what I have to do to see the time format MET (UTC+1) under the chat messages?
I made changes to the following files.
Changes in file: /wp-live-chat-support.php
Original line: ‘wplc_show_time’ => true,
Edited line: ‘wplc_show_time’ => false,
Changes in file: js/wplc_agent_mode.js
Original line: var ampm = hours >= 12 ? ‘pm’: ‘am’;
Edited line: var ampm = hours >= 12 ? ‘Uhr’ : ‘Uhr’;
Current line: var ampm = hours >= 12 ? ” : ”;
Changes in file: js/wplc_server.js
Original line: var time_am_pm = time_hours_24 > 11 ? ‘pm’ : ‘am’;
Edited line: var time_am_pm = time_hours_24 > 11 ? ‘Uhr’ : ‘Uhr’;
Current line: var time_am_pm = time_hours_24 > 11 ? ” : ”;
Kind Regards
The page I need help with: [log in to see the link]
The topic ‘Time Format Change’ is closed to new replies.