We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/quran/audio.quran.com/blob/master/src/utils/formatSeconds.js
Instead the 11 lines, you can just use this:
let fmt_time = s => (new Date(s * 1000).toISOString().substr(10, 9)).replace(/T(00:)?/, '');
It's what I wrote for qari.one.
The text was updated successfully, but these errors were encountered:
@mustafa0x feel free to raise a PR :) We could do with some help. Jzkallah.
Sorry, something went wrong.
No branches or pull requests
https://github.com/quran/audio.quran.com/blob/master/src/utils/formatSeconds.js
Instead the 11 lines, you can just use this:
It's what I wrote for qari.one.
The text was updated successfully, but these errors were encountered: