text padding
This commit is contained in:
parent
c4dafeb682
commit
6385d96a4a
@ -1695,7 +1695,7 @@
|
||||
hour = g.chanOffset + Number(hour);
|
||||
time.date = new Date(year, month, day, hour, min);
|
||||
timeEl = $.el('time', {
|
||||
textContent: time.funk(time)
|
||||
textContent: ' ' + time.funk(time) + ' '
|
||||
});
|
||||
return $.replace(s, timeEl);
|
||||
});
|
||||
|
||||
@ -1333,7 +1333,7 @@ time =
|
||||
#XXX /b/ will have seconds cut off
|
||||
|
||||
timeEl = $.el 'time',
|
||||
textContent: time.funk time
|
||||
textContent: ' ' + time.funk(time) + ' '
|
||||
$.replace s, timeEl
|
||||
|
||||
zeroPad: (n) -> if n < 10 then '0' + n else n
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user