mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 15:02:40 +00:00
Respect locale in time format of attendees window
This commit is contained in:
1 parent
7369a82bab
commit
1f7994d1bf
4 files changed
+28
-7
No files matched your search
@@ -1453,14 +1453,8 @@ function prepareTableHeaders() {
|
||||
rows[0].appendChild(header1b);
|
||||
for (var hour = displayStartHour; hour < (displayEndHour + 1); hour++) {
|
||||
var header2 = document.createElement("th");
|
||||
var text = hour + ":00";
|
||||
if (hour < 10)
|
||||
text = "0" + text;
|
||||
if (hour >= dayStartHour && hour < dayEndHour)
|
||||
$(header2).addClassName ("officeHour");
|
||||
header2.appendChild(document.createTextNode(text));
|
||||
header2.appendChild(document.createTextNode(timeFormat.formatTime(hour, 0)));
|
||||
rows[1].appendChild(header2);
|
||||
|
||||
var header3 = document.createElement("th");
|
||||
for (var span = 0; span < 4; span++) {
|
||||
var spanElement = document.createElement("span");
|
||||
|
||||
Reference in new issue
Block a user