Defect #12510 » pdf.patch
pdf_new.rb 2013-02-12 01:42:40.000000000 +0100 | ||
---|---|---|
267 | 267 |
format_date(value) |
268 | 268 |
elsif value.is_a?(Time) |
269 | 269 |
format_time(value) |
270 |
elsif column.name == :spent_hours || column.name == :estimated_hours |
|
271 |
value = (value.to_f != 0 ? ("%.2f" % value.to_f) : "") |
|
270 | 272 |
else |
271 | 273 |
value |
272 | 274 |
end |