Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
Indicate when the value was last updated
Browse files Browse the repository at this point in the history
A cheap way to see if the feed is good
  • Loading branch information
MyForest committed Mar 3, 2020
1 parent 7c73948 commit 587fd14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/current-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ async function setTitleBasedOnFeed(jqueryElement, configKey) {
const appFeed = config.app[configKey]
if (appFeed) {
description = "Based on '" + configKey + "' feed which is described as:\n" + appFeed.description
description += "\nLast update was at " + new Date(feedsByConfigKey[configKey].time * 1000).toISOString()
jqueryElement.attr("title", description)
}
}
Expand Down

0 comments on commit 587fd14

Please sign in to comment.