aboutsummaryrefslogtreecommitdiffstats
path: root/xslt/udcf.xslt
AgeCommit message (Collapse)Author
2018-02-15Convert cylinder volume to metricGravatar Miika Turkia
This is a rough conversion from cuft to liters. Should be close enough when we don't have working pressure to do the real calculation. (As far as I know, this is the case with UDCF.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2018-02-15Case insensitive string comparison for unitsGravatar Miika Turkia
Not really surprising, but a sample log that I received used different case for unit than I had expected. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2018-02-15Convert imperial pressures to metricGravatar Miika Turkia
This will convert cylinder start and end pressures from imperial to metric, when necessary. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2018-02-15Add imperial unit support for temperatureGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2018-02-15UDCF import: use unit variableGravatar Miika Turkia
Simplify depth conversion from by using the unit variable and allowing dephtConvert template to do the work. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2018-02-15UDCF import: store units in a variableGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2018-02-15UDCF import: support for imperial depthsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2015-12-26Fix UDCF import time unit in timedepthmodeGravatar Miika Turkia
The timedepthmode specifies the time in seconds when using si units, otherwise minutes. This patch implements this support. Fixes #981 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-11-10Support timedepth mode on UDCF importGravatar Miika Turkia
Fixes #756 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-03-08Identify converted files as importedGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-03-02Dive computer import improvementsGravatar Miika Turkia
Parse dive computer information or divelog generator information and include it as divecomputerid and divecomputer as appropriate. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-26UDCF importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>