Switch to side-by-side view
--- a/src/rcldb/rcldb_p.h +++ b/src/rcldb/rcldb_p.h @@ -104,7 +104,14 @@ inline const string& docfToDatf(const string& df) { static const string keycap("caption"); - return df.compare(Doc::keytt) ? df : keycap; + static const string keydmtime("dmtime"); + if (!df.compare(Doc::keytt)) { + return keycap; + } else if (!df.compare(Doc::keymt)) { + return keydmtime; + } else { + return df; + } } }