Bug fixes and functionality
Fixed a bug with setting count_past_zero
giving errors.
Added functionality that lets you set what time circles views as the "total duration".
By default, the total duration is 1 year (or more accurately, 365 days), however you can now also set it to a month (meaning the "Days" timer would be roughly half full at 15 days).
By setting it to "Auto"
, TimeCircles will simply look at which values you're showing- and pick something bigger than your biggest unit.
Other available settings are: "Years"
, "Months"
, "Days"
, "Hours"
, "Minutes"
.
You can also give this variable a numeric value (in seconds). So, if for example you're only showing the 'Seconds' timer, you can set total_duration to 100 (Or any other value).
Simply do:
$("Countdown").TimeCircles({ total_duration: "Months" });
To use this setting.