Commit 37344d6c authored by yPhil's avatar yPhil
Browse files

Universal timeStamp

parent be2b74c3
......@@ -526,6 +526,8 @@ PTL.feed = {
dateObj = new Date(),
timeStamp = dateObj.getUTCHours() + ":" + dateObj.getUTCMinutes() + ":" + dateObj.getUTCSeconds();
const timeStampAlt = dateObj.toTimeString().substr(0,8);
var feedLastItem = $dataStore.data('lastitem');
$feedBodyUl.css('border', '1px solid red');
......@@ -581,8 +583,8 @@ PTL.feed = {
$feedBody.html(lastItems[0]);
$refreshButton
.data('title', 'Refresh this feed (%1 - %2)', fetchFeed.feedTitle || fetchFeed.feedLink, timeStamp)
.attr('title', PTL.tr('Refresh this feed (%1 - %2)', fetchFeed.feedTitle || fetchFeed.feedLink, timeStamp))
.data('title', 'Refresh this feed (%1 - %2)', fetchFeed.feedTitle || fetchFeed.feedLink, timeStampAlt)
.attr('title', PTL.tr('Refresh this feed (%1 - %2)', fetchFeed.feedTitle || fetchFeed.feedLink, timeStampAlt))
.removeClass('spin');
$feedLink
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment