liquid_feedback_frontend
changeset 723:fda70d12e695
Do not show milliseconds of issue state time left
author | bsw |
---|---|
date | Thu Jun 28 00:51:41 2012 +0200 (2012-06-28) |
parents | b1ba5d237b6d |
children | 20395309378a |
files | app/main/issue/_show.lua |
line diff
1.1 --- a/app/main/issue/_show.lua Wed Jun 27 22:19:49 2012 +0200 1.2 +++ b/app/main/issue/_show.lua Thu Jun 28 00:51:41 2012 +0200 1.3 @@ -74,7 +74,7 @@ 1.4 ui.tag{ content = _("Counting starts soon") } 1.5 end 1.6 else 1.7 - ui.tag{ content = _("#{time_left} left", { time_left = issue.state_time_left:gsub("days", _"days"):gsub("day", _"day") }) } 1.8 + ui.tag{ content = _("#{time_left} left", { time_left = issue.state_time_left:gsub("%..*", ""):gsub("days", _"days"):gsub("day", _"day") }) } 1.9 end 1.10 end 1.11