mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Libdivecomputer: start actually importing the dive data
So this actually reports the dive data that libdivecomputer generates. It doesn't import special events etc, but neither do we for the xml importer. It is also slow as heck, since it doesn't try to do the "hey, I already have this dive" logic and always imports everything, but the basics are definitely there. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
aa416e3c96
commit
42f627b8b1
5 changed files with 50 additions and 29 deletions
|
@ -104,7 +104,7 @@ static enum import_source {
|
|||
UDDF,
|
||||
} import_source;
|
||||
|
||||
static time_t utc_mktime(struct tm *tm)
|
||||
time_t utc_mktime(struct tm *tm)
|
||||
{
|
||||
static const int mdays[] = {
|
||||
0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue