Switch to unified view

a/src/internfile/myhtmlparse.cpp b/src/internfile/myhtmlparse.cpp
...
...
371
            lowercase_term(name);
371
            lowercase_term(name);
372
            if (name == "date") {
372
            if (name == "date") {
373
                // Specific to Recoll filters.
373
                // Specific to Recoll filters.
374
                decode_entities(content);
374
                decode_entities(content);
375
                struct tm tm;
375
                struct tm tm;
376
                            memset(&tm, 0, sizeof(tm));
376
                if (strptime(content.c_str(), 
377
                if (strptime(content.c_str(), 
377
                     " %Y-%m-%d %H:%M:%S ", &tm) ||
378
                     " %Y-%m-%d %H:%M:%S ", &tm) ||
378
                strptime(content.c_str(), 
379
                strptime(content.c_str(), 
379
                     "%Y-%m-%dT%H:%M:%S", &tm)
380
                     "%Y-%m-%dT%H:%M:%S", &tm)
380
                ) {
381
                ) {