]> git.tdb.fi Git - ext/subsurface.git/commit
Add weight and suit support for JDiveLog import
authorMiika Turkia <miika.turkia@gmail.com>
Sat, 18 Aug 2012 16:33:40 +0000 (19:33 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Aug 2012 16:53:32 +0000 (09:53 -0700)
commit413065dcdccebe3a97813e9c45a654820f98e0e6
tree4155af98babd78ada9a804e041bb5ac31d165fd7
parent76fc14f1b4c62506a6a9a8ee27d21ec992a65993
Add weight and suit support for JDiveLog import

Use the suit and weightsystem support of Subsurface when importing
divelogs from JDiveLog. (They were previously included in the notes
field as support for these fields was missing from Subsurface.)

After import the weightsystem is undefined and weight unit is the
default of Subsurface. Unfortunately the weight field in JDiveLog is
text field and might contain pounds and kilograms mixed in seemingly
random order. Thus 2 pounds of weight might be transformed to 2 kg.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
xslt/jdivelog2subsurface.xslt