mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Right align 12 hour times
This commit is contained in:
parent
174387b958
commit
8e56039948
@ -707,6 +707,10 @@ var et2_calendar_timegrid = et2_calendar_view.extend([et2_IDetachedDOM, et2_IRes
|
||||
}
|
||||
|
||||
var time_label = (typeof show[granularity] === 'undefined' ? t % 60 === 0 : show[granularity].indexOf(t % 60) !== -1) ? time : '';
|
||||
if(time_label && egw.preference("timeformat") == "12" && time_label.split(':')[0] < 10)
|
||||
{
|
||||
time_label =' ' + time_label;
|
||||
}
|
||||
if(this.rowHeight < line_height)
|
||||
{
|
||||
// Rows too small for regular label frequency, use automatic calculation
|
||||
|
Loading…
Reference in New Issue
Block a user