diff --git a/apps/circlesclock/app.js b/apps/circlesclock/app.js index 816d81727..06d7626b9 100644 --- a/apps/circlesclock/app.js +++ b/apps/circlesclock/app.js @@ -457,7 +457,7 @@ function getSunProgress() { if (isDay()) { // during day, progress until sunSet - return (now - sunSet) / (sunSet - sunRise); + return (sunSet - now) / (sunSet - sunRise); } else { // during night, progress until sunrise: if (now > sunRise) {