Skip to content

Conversation

@Deadooshka
Copy link

Torrent Created At

Torrent Created At <readable date>
@binux
Copy link
Owner

binux commented Nov 23, 2016

To decorate the date in UI, it's better to add a function to UI render like this

yaaw/js/yaaw.js

Line 401 in c28cde2

format_time: function() {

And wrap the data like

yaaw/index.html

Line 339 in c28cde2

<li><strong>Size: </strong>{{#_v.format_size}}{{totalLength}}{{/_v.format_size}} ({{numPieces}} @ {{#_v.format_size}}{{pieceLength}}{{/_v.format_size}})</li>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants