date -> dateText

This commit is contained in:
ccd0 2015-04-12 20:12:33 -07:00
parent 08a8069d2a
commit d0ab95a3fe
3 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ Build =
subject: Build.unescape data.sub
flagCode: data.country
flag: Build.unescape data.country_name
date: data.now
dateText: data.now
dateUTC: data.time
comment: {innerHTML: data.com or ''}
# thread status
@ -77,7 +77,7 @@ Build =
###
{
postID, threadID, boardID
name, capcode, capcodeHighlight, tripcode, uniqueID, email, subject, flagCode, flag, date, dateUTC
name, capcode, capcodeHighlight, tripcode, uniqueID, email, subject, flagCode, flag, dateText, dateUTC
comment
file, fileDeleted
} = o

View File

@ -12,7 +12,7 @@
?{uniqueID && !capcode}{ <span class="posteruid id_${uniqueID}">(ID: <span class="hand" title="Highlight posts by this ID">${uniqueID}</span>)</span>}
?{flagCode}{ <span title="${flag}" class="flag flag-${flagCode.toLowerCase()}"></span>}
</span>
<span class="dateTime" data-utc="${dateUTC}">${date}</span>
<span class="dateTime" data-utc="${dateUTC}">${dateText}</span>
<span class="postNum?{!(boardID === "f" && isOP)}{ desktop}">
<a href="${postLink}" title="Link to this post">No.</a>
<a href="${quoteLink}" title="Reply to this post">${postID}</a>

View File

@ -142,7 +142,7 @@ class Fetcher
subject: data.title
flagCode: data.poster_country
flag: data.poster_country_name
date: data.fourchan_date
dateText: data.fourchan_date
dateUTC: data.timestamp
comment: comment
# file