mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-27 12:04:21 +00:00
Removed brackets from timestamp, added padding
This commit is contained in:
parent
09203d201e
commit
e5c47f71f7
@ -51,6 +51,7 @@ end
|
||||
}
|
||||
.timestamp {
|
||||
color: #909090;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.greybordered {
|
||||
margin: 12px;
|
||||
@ -414,7 +415,7 @@ function lovebird.print(...)
|
||||
str = lovebird.htmlescape(str)
|
||||
end
|
||||
if lovebird.timestamp then
|
||||
str = os.date('<span class="timestamp">[%H:%M:%S]</span> ') .. str
|
||||
str = os.date('<span class="timestamp">%H:%M:%S</span> ') .. str
|
||||
end
|
||||
table.insert(lovebird.lines, str)
|
||||
if #lovebird.lines > lovebird.maxlines then
|
||||
|
Loading…
Reference in New Issue
Block a user