Open jperkelens opened 11 years ago
This is a nice idea...how about instead of granularity: true/false you create a granularity: d/h/m/s?
Sounds good. I'll work on it in the next day or two and amend the pull request.
Cheers.
On Tue, Aug 20, 2013 at 11:07 AM, Dan Caragea notifications@github.comwrote:
This is a nice idea...how about instead of granularity: true/false you create a granularity: d/h/m/s?
— Reply to this email directly or view it on GitHubhttps://github.com/terebentina/sco.js/pull/15#issuecomment-22951751 .
Created the setting as you requested. Give it a spin, lemme know what you think.
Hi again, any chance you'll pull this in soon?
Yup, tomorrow will do
Hi! Nice job with these plugins. I've added a 'granular' option to the countdown, which stops the string calculation at hours if there is more than a day left, and will only run the code to update on the hour change.
This can obviously be extended for any level of granularity and I'm happy to do so if you feel its a good idea.