Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aria2.js #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update aria2.js #105

wants to merge 1 commit into from

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.

None yet

2 participants