Increase display precision of hours to 2 places

This commit is contained in:
John Wiegley 2010-12-12 19:13:44 -05:00
parent 8fa5d1c59c
commit c00188d6a8
3 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ void set_session_context(session_t * session)
amount_t::initialize();
amount_t::parse_conversion("1.0m", "60s");
amount_t::parse_conversion("1.0h", "60m");
amount_t::parse_conversion("1.00h", "60m");
value_t::initialize();
}

View file

@ -12,7 +12,7 @@ D 1.0000s
248720c {10.051463493s} [2006/03/14]
1339829c {1.86590975416s} [2006/03/14]
248720c {10.051463493s} [2006/03/14]
-1388.9h
-1388.89h
>>>2
=== 0
reg --format '%(justify(scrub(total_expr), 40, 40, true))\n' --lots-actual
@ -20,6 +20,6 @@ reg --format '%(justify(scrub(total_expr), 40, 40, true))\n' --lots-actual
1339829c
1588549c
1588549c
-1388.9h
-1388.89h
>>>2
=== 0

View file

@ -5,9 +5,9 @@ o 2007/03/02 01:00:00
i 2007/03/11 23:00:00 B
o 2007/03/12 01:00:00
>>>1
2.0h A
2.0h B
2.00h A
2.00h B
--------------------
4.0h
4.00h
>>>2
=== 0