Open igorsimb opened 5 months ago
Keep this in mind (source)
You don’t need to keep a “running clock”. Store the time when a task was started, and then when you need to get the elapsed time, calculate the difference between the current time and the start time.
As a temporary measure we can just show the next scrape time.
This looks good: https://github.com/PButcher/flipdown Article with a lot of examples: https://medium.com/geekculture/23-javascript-countdown-timer-for-website-273efc2f5618
django-countdowntimer-model library