Skip to content

How does LRR determine if some metadata is a timestamp? #981

Answered by Difegue
chierinyan asked this question in Q&A
Discussion options

You must be logged in to vote

It's hardcoded, although the conversion is really just done clientside:

const encodedVal = LRR.encodeHTML(key === "date_added" || key === "timestamp" ? LRR.convertTimestamp(tag) : tag);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chierinyan
Comment options

@Difegue
Comment options

Answer selected by Difegue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants