diff --git a/js/misc/util.js b/js/misc/util.js index e9aa9ef8a..5abcb54c9 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -280,7 +280,10 @@ function formatTime(time, params) { // xgettext:no-c-format format = N_("%B %d %Y, %l\u2236%M %p"); } - return date.format(Shell.util_translate_time_string(format)); + + let formattedTime = date.format(Shell.util_translate_time_string(format)); + // prepend LTR-mark to colon/ratio to force a text direction on times + return formattedTime.replace(/([:\u2236])/g, '\u200e$1'); } function createTimeLabel(date, params) {