Oliver Schwaneberg eb38a64149 Do not remove seconds from duration input field
This change deals with issue #554.
If you enter a dive duration manually, the cell renderer cuts the seconds
away when the changes are saved. I added the helper "render_seconds_to_string"
as a counterpart to "parseDurationToSeconds". The helper keeps the seconds,
if not null. The rendering of the cell is done at two places in the code,
so I think it is cleaner to add a dedicated method for it.

Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
2018-02-04 13:40:02 -08:00
..
2017-11-18 21:57:33 +01:00
2018-01-08 06:06:12 +02:00
2018-01-10 21:25:02 +01:00
2018-01-10 21:25:02 +01:00
2017-12-27 17:14:43 -08:00
2017-11-25 20:13:01 +01:00
2017-04-29 13:32:55 -07:00
2018-01-21 15:24:46 +01:00
2018-01-31 14:47:26 +01:00
2018-01-06 09:21:16 +01:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2018-01-08 09:52:55 +02:00
2017-05-26 15:52:04 -07:00
2018-01-19 12:38:11 +02:00
2017-10-08 19:41:54 +03:00
2018-01-19 12:38:11 +02:00
2018-01-26 07:04:45 +01:00
2017-05-26 15:44:36 -07:00
2017-12-21 00:04:30 +01:00
2017-11-25 20:13:01 +01:00
2017-12-28 17:30:25 +01:00
2017-07-19 06:21:23 -07:00
2017-11-19 12:20:43 -08:00
2017-12-14 17:01:05 +01:00
2017-04-29 13:32:55 -07:00
2018-01-19 12:38:11 +02:00
2017-12-17 10:25:01 -08:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2018-01-31 14:47:47 +01:00
2018-01-10 16:45:42 +01:00
2017-04-29 13:32:55 -07:00
2017-11-24 07:56:10 -08:00
2017-11-22 19:22:29 +01:00