diff --git a/nw/common.py b/nw/common.py index 8af90084..7cc2fbd3 100644 --- a/nw/common.py +++ b/nw/common.py @@ -213,7 +213,10 @@ def fuzzyTime(secDiff): return "%d hours ago" % int(round(secDiff/3600)) elif secDiff < 129600: # 1.5 days return "a day ago" - elif secDiff < 8640000: # 100 days + elif secDiff < 31104000: # 360 days return "%d days ago" % int(round(secDiff/86400)) + elif secDiff < 36288000: # 420 days + return "a year ago" else: return "ages ago" + return "beyond time and space" diff --git a/nw/gui/build.py b/nw/gui/build.py index 4765bd7e..4fc0e42d 100644 --- a/nw/gui/build.py +++ b/nw/gui/build.py @@ -983,7 +983,7 @@ class GuiBuildNovelDocView(QTextBrowser): # Age Timer self.ageTimer = QTimer() - self.ageTimer.setInterval(5000) + self.ageTimer.setInterval(10000) self.ageTimer.timeout.connect(self._updateBuildAge) self.ageTimer.start() @@ -1071,7 +1071,7 @@ class GuiBuildNovelDocView(QTextBrowser): ) else: strBuildTime = "Unknown" - self.theTitle.setText("Build Time: %s" % strBuildTime) + self.theTitle.setText("Build Time: %s" % strBuildTime) def _updateDocMargins(self):