--- gigedit/trunk/src/gigedit/MacrosSetup.cpp 2017/05/08 21:31:45 3160 +++ gigedit/trunk/src/gigedit/MacrosSetup.cpp 2017/05/08 22:25:46 3161 @@ -229,7 +229,7 @@ pNow->tm_mon == t.tm_mon && pNow->tm_mday == t.tm_mday) return 0; time_t past = mktime((tm*)&t); - return ceil(difftime(now, past)); + return ceil(difftime(now, past) / 60.0 / 60.0 / 24.0); } static Glib::ustring humanShortStr(const tm& t) {