question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no timer is rendered, using count.schedule with 'from 1:20 till 2:50 every 30 minutes'

See original GitHub issue

Hi,

I am trying to display a rather complex timer schedule that basically consists of several from .. till .. every xx minutes. It seems that no matter what I pass as argument to count.schedule, nothing is rendered. Instead, I get

<div class="tick" data-did-init="handleTickInit" data-state="initialised">

    <div data-repeat="true" data-layout="horizontal center fit" data-transform="preset(h, m, s) -> delay">

        
    </div>

</div>

in the DOM and Tick fails silently.

My actual code in handleTickInit function look like this:

Tick.count.schedule(
    'every day at 18:30, from 1:20 till 2:50 every 30 minutes, from 8:30 till 10:20 every 25 minutes, from 12:20 till 14:20 every 30 minutes, from 21 till 22:15 every 25 minutes', {format:['h', 'm', 's']}
    ).onupdate = function(value) {
  tick.value = value;
};

Removing all from .. till .. every .. minutes makes Tick work as expected.

BTW. Really looking forward to using count.schedule as it seems to be a perfect fit for my needs. Thanks for your time!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
adas172002commented, Aug 29, 2020

1.7.7 works as expected.

0reactions
adas172002commented, Aug 20, 2020

Great! I will have a look at ver 1.7.6 in two weeks, thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calculating Time in Excel - My Online Training Hub
I need help with the proper formula to calculate elapsed days, hours, minutes. I keep track of certain projects and need to calculate...
Read more >
how much more time on the timer
Explore the entire Time Timer PLUS Family, available in 5-Minute, 20-Minute, 60-Minute, and 120-Minute versions, to find the perfect duration for your needs ......
Read more >
putting it all together
Administer prednisone. 0.2mg/kg/day in separate doses administered every 6 hours. Administer the prednisone via IVPB in 50 mL of NS; infuse over 30...
Read more >
Solving Linear Equations - Distance, Rate and Time
An application of linear equations can be found in distance problems. ... To find the total distance we would multiply rate times time...
Read more >
Calories Burned per Minute Walking - Stanford Transportation
5. 10. 15. 20. 25. 30. 35. 40. 45. 50. 55. 60. 65. 70. 75. 120. 25. 50. 76. 101. 126. 151. 176....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found