Update August 8, 17:22pm (PDT): http://TiddlyTools.com/timer.html
* There are a number of significant changes in this update:
1) TiddlyTools/Timer/AnalogClock and TiddlyTools/Timer/DigitalClock has
been combined into TiddlyTools/Timer/Clocks
2) This new combined Clocks tiddler no longer uses "templated transclusion"
(e.g., {{||TiddlyTools/Timer/AnalogClock}}) to embed a clock in a tiddler.
3) Instead, the new Clocks tiddler defines a <<clock>> *macro* that can be
used to embed either the analog or digital clock.
4) This macro also includes parameters for specifying the timezone "offset"
and an optional "format" override for the digital clock.
5) The SidebarClock and WorldClocks tiddlers have been updated to use the
new <<clock>> macro instead of transclusions.
6) The WorldClocks tiddler has also been updated to provide a multi-select
list for choosing which places to display.
7) A new tiddler, TiddlyTools/Timer/Places, has been added to define the
list of available places for use with the WorldClocks tiddler.
Documentation for all of the above changes in syntax and usage have been
updated in TiddlyTools/Timer/Info.
Note that, while these changes do not alter the overall functionality, they
do make usage and customization easier and more consistent
by using macro parameters to control clock options, rather than defining
"context variables" to pass those values to the underlying code.
Hopefully these changes don't cause too much grief for anyone who had been
using the previous version...
Please let me know right away if you run into any problems with using this
update.
enjoy,
-e
On Wednesday, August 5, 2020 at 8:38:39 AM UTC-7, Eric Shulman wrote:
>
> update August 5, 08:30: http://TiddlyTools.com/timer.html
> <http://tiddlytools.com/timer.html>
>
> * AnalogClock/DigitalClock - handle leap years in "days per month" (dpm)
> calculations in adjustForTimezone()
>
> <$vars leap={{{ [<yyyy>divide[4]split[.]count[]match[1]then[yes]] }}}>
> <$set name="dpm" value="31 28 31 30 31 30 31 31 30 31 30 31"> <!--
> days per month -->
> <$set name="dpm" filter="[<leap>!match[]]" value="31 29 31 30 31 30 31
> 31 30 31 30 31" emptyValue=<<dpm>>>
>
> Be sure to update before the end of February 2024 (the next leap year)
> This will be accurate until the year 2100 (which is NOT a leap year)
>
> -e
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/07bb6406-7509-437e-8eb2-3682793e79beo%40googlegroups.com.