Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-15 Thread TW Tones
Eric,

I just wanted to let you know I am using Timer tools with projectify, 
streams and the recent basket (plussa number of my own tools) to build a 
very nice comprehensive "work a day" solution.

Thanks sooo much for this substantial contribution.

Once I have settled on my solution I will publish an edition.

Tones

On Sunday, 16 May 2021 at 01:13:25 UTC+10 Eric Shulman wrote:

> On Friday, May 14, 2021 at 9:53:23 AM UTC-7 mohamed...@hotmail.com wrote:
>
>> one more question , if i may, how would this work in a list situation , 
>> so if i am listing a group of tiddlers , i can assign different alarms to 
>> them, but when the action triggers for one alarm it affects all tiddlers , 
>> is this because how it is intended to be used , or am i using the code wrong
>>
>
> If I understand your PNG code snapshot, it appears that you want a 
> triggered alarm to set the "status2" field to "boom" in each tiddler that 
> has a status="In House".
>
> * For this to happen, you first need to put the desired <$action-setfield 
> status2="boom"/> widget *into a separate tiddler* (e.g., "AlarmActions").
> * Next, in your $list that shows tiddlers with a "status" field containing 
> "In House", transclude {{||TiddlyTools/Time/Alarms}} (as you have already 
> done).  This will display a separate Alarm input form for each matching 
> tiddler.
> * Then, for each status tiddler, use the associated Alarm input form to 
> specify a time/date and *enter the title of the alarm action tiddler as 
> the message text*.
> * Be sure to press the [+] button to use your inputs to actually add the 
> alarm definition to the corresponding status tiddler.  The defined alarm 
> will be shown below the input form.
> * When an alarm is triggered, the AlarmActions tiddler will be invoked, 
> performing the <$action-setfield> widget(s) that you specified.  Note that 
> the <> will be set to the tiddler in which the alarm is 
> defined (i.e., the corresponding "In House" tiddler), so the "status2" 
> field containing "boom" will be added to *that* "In House" tiddler.
>
> IMPORTANT: I've just updated the TiddlyTools/Time/Alarms code so that the 
> <> value is correctly set for each tiddler containing alarm 
> definitions.  Previously, $action widgets invoked using the default tiddler 
> (i.e., the currentTiddler) would be applied directly in the AlarmActions 
> tiddler, rather than the tiddler containing the alarm definition.
>
> Be sure to get the latest update here: http://tiddlytools.com/timer.html
>
> Let me now how it goes...
>
> enjoy,
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c46ad51-3bbf-4ad5-83f9-9bc8a395689fn%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-15 Thread paulgilbert2000
Thanks Eric,

followed the exact steps you mentioned with the new code, works perfect :) 
, the action now only takes place in fields for  tiddlers assigned an alarm 
, and not the entire list.

cant thank you enough , this was really helpful

On Saturday, May 15, 2021 at 5:13:25 PM UTC+2 Eric Shulman wrote:

> On Friday, May 14, 2021 at 9:53:23 AM UTC-7 mohamed...@hotmail.com wrote:
>
>> one more question , if i may, how would this work in a list situation , 
>> so if i am listing a group of tiddlers , i can assign different alarms to 
>> them, but when the action triggers for one alarm it affects all tiddlers , 
>> is this because how it is intended to be used , or am i using the code wrong
>>
>
> If I understand your PNG code snapshot, it appears that you want a 
> triggered alarm to set the "status2" field to "boom" in each tiddler that 
> has a status="In House".
>
> * For this to happen, you first need to put the desired <$action-setfield 
> status2="boom"/> widget *into a separate tiddler* (e.g., "AlarmActions").
> * Next, in your $list that shows tiddlers with a "status" field containing 
> "In House", transclude {{||TiddlyTools/Time/Alarms}} (as you have already 
> done).  This will display a separate Alarm input form for each matching 
> tiddler.
> * Then, for each status tiddler, use the associated Alarm input form to 
> specify a time/date and *enter the title of the alarm action tiddler as 
> the message text*.
> * Be sure to press the [+] button to use your inputs to actually add the 
> alarm definition to the corresponding status tiddler.  The defined alarm 
> will be shown below the input form.
> * When an alarm is triggered, the AlarmActions tiddler will be invoked, 
> performing the <$action-setfield> widget(s) that you specified.  Note that 
> the <> will be set to the tiddler in which the alarm is 
> defined (i.e., the corresponding "In House" tiddler), so the "status2" 
> field containing "boom" will be added to *that* "In House" tiddler.
>
> IMPORTANT: I've just updated the TiddlyTools/Time/Alarms code so that the 
> <> value is correctly set for each tiddler containing alarm 
> definitions.  Previously, $action widgets invoked using the default tiddler 
> (i.e., the currentTiddler) would be applied directly in the AlarmActions 
> tiddler, rather than the tiddler containing the alarm definition.
>
> Be sure to get the latest update here: http://tiddlytools.com/timer.html
>
> Let me now how it goes...
>
> enjoy,
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f79b1e0b-fadd-4297-8f41-94b66fe0debfn%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-15 Thread Eric Shulman
On Friday, May 14, 2021 at 9:53:23 AM UTC-7 mohamed...@hotmail.com wrote:

> one more question , if i may, how would this work in a list situation , so 
> if i am listing a group of tiddlers , i can assign different alarms to 
> them, but when the action triggers for one alarm it affects all tiddlers , 
> is this because how it is intended to be used , or am i using the code wrong
>

If I understand your PNG code snapshot, it appears that you want a 
triggered alarm to set the "status2" field to "boom" in each tiddler that 
has a status="In House".

* For this to happen, you first need to put the desired <$action-setfield 
status2="boom"/> widget *into a separate tiddler* (e.g., "AlarmActions").
* Next, in your $list that shows tiddlers with a "status" field containing 
"In House", transclude {{||TiddlyTools/Time/Alarms}} (as you have already 
done).  This will display a separate Alarm input form for each matching 
tiddler.
* Then, for each status tiddler, use the associated Alarm input form to 
specify a time/date and *enter the title of the alarm action tiddler as the 
message text*.
* Be sure to press the [+] button to use your inputs to actually add the 
alarm definition to the corresponding status tiddler.  The defined alarm 
will be shown below the input form.
* When an alarm is triggered, the AlarmActions tiddler will be invoked, 
performing the <$action-setfield> widget(s) that you specified.  Note that 
the <> will be set to the tiddler in which the alarm is 
defined (i.e., the corresponding "In House" tiddler), so the "status2" 
field containing "boom" will be added to *that* "In House" tiddler.

IMPORTANT: I've just updated the TiddlyTools/Time/Alarms code so that the 
<> value is correctly set for each tiddler containing alarm 
definitions.  Previously, $action widgets invoked using the default tiddler 
(i.e., the currentTiddler) would be applied directly in the AlarmActions 
tiddler, rather than the tiddler containing the alarm definition.

Be sure to get the latest update here: http://tiddlytools.com/timer.html

Let me now how it goes...

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1714421b-1b03-4a78-8b7b-01c0e6ae8d8en%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-14 Thread TW Tones
Eric,

That is an interesting design method if I understand it correctly. If there 
is a trigger available, in this case a timer, presumably any other trigger 
such as a button etc... if actions provided to it they will be executed. It 
suggests to me anything which can act as a trigger can have actions, this 
is in most trigger widgets like buttons etc... but when someone designs a 
solution containing any kind of trigger it would be valuable if an action 
macro or tiddler reference was available if needed. Further consideration 
can be given to the modifier keys alt, ctrl...

I suppose I am suggesting this would be a good design pattern. What do you 
think?

Eg; a todo list done button, if an action macro is set the do them. The 
user can then trigger a dialogue, or confirmation or many other responses. 
Makes solutions extensible without changing the code of the solution..

Tones




On Friday, 14 May 2021 at 15:17:03 UTC+10 Eric Shulman wrote:

> On Thursday, May 13, 2021 at 8:34:41 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> how can i add a value in a field automatically after an alarm is 
>> triggered, so asside from the popup message ,i also want a field to say 
>> "done" for example?
>>
>
> I just added a new feature to the Alarms, so that you can invoke custom 
> actions instead of displaying a message box.
>
> *To define custom actions to be performed when an alarm is triggered:*
>
>- Create a tiddler containing one or more desired <$action-... 
>/> widgets and enter the title of this tiddler as the message text for the 
>alarm.
>- When the alarm is triggered, the <$action-... /> widgets contained 
>in the specified tiddler will be invoked.
>- To display a message in addition to performing the specified 
>actions, you can define a separate alarm with the desired message text.
>
> Get the updated code here: 
> http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAlarms
>
> enjoy,
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7353065b-1fe6-4670-9b39-64ccba95c446n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-14 Thread paulgilbert2000
Thank you very much eric

it works perfectly fine :)

one more question , if i may, how would this work in a list situation , so 
if i am listing a group of tiddlers , i can assign different alarms to 
them, but when the action triggers for one alarm it affects all tiddlers , 
is this because how it is intended to be used , or am i using the code wrong

thanks again for your help



On Friday, May 14, 2021 at 7:17:03 AM UTC+2 Eric Shulman wrote:

> On Thursday, May 13, 2021 at 8:34:41 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> how can i add a value in a field automatically after an alarm is 
>> triggered, so asside from the popup message ,i also want a field to say 
>> "done" for example?
>>
>
> I just added a new feature to the Alarms, so that you can invoke custom 
> actions instead of displaying a message box.
>
> *To define custom actions to be performed when an alarm is triggered:*
>
>- Create a tiddler containing one or more desired <$action-... 
>/> widgets and enter the title of this tiddler as the message text for the 
>alarm.
>- When the alarm is triggered, the <$action-... /> widgets contained 
>in the specified tiddler will be invoked.
>- To display a message in addition to performing the specified 
>actions, you can define a separate alarm with the desired message text.
>
> Get the updated code here: 
> http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAlarms
>
> enjoy,
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a52a074a-e0e6-4434-9f2f-01bd98bc899dn%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-13 Thread Eric Shulman
On Thursday, May 13, 2021 at 8:34:41 PM UTC-7 mohamed...@hotmail.com wrote:

> how can i add a value in a field automatically after an alarm is 
> triggered, so asside from the popup message ,i also want a field to say 
> "done" for example?
>

I just added a new feature to the Alarms, so that you can invoke custom 
actions instead of displaying a message box.

*To define custom actions to be performed when an alarm is triggered:*

   - Create a tiddler containing one or more desired <$action-... 
   /> widgets and enter the title of this tiddler as the message text for the 
   alarm.
   - When the alarm is triggered, the <$action-... /> widgets contained in 
   the specified tiddler will be invoked.
   - To display a message in addition to performing the specified actions, 
   you can define a separate alarm with the desired message text.

Get the updated code 
here: http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAlarms

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2b18692c-b1ea-48c4-9f20-368125927398n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-13 Thread paulgilbert2000
how can i add a value in a field automatically after an alarm is triggered, 
so asside from the popup message ,i also want a field to say "done" for 
example?

On Saturday, May 1, 2021 at 5:14:37 AM UTC+2 paulgilbert2000 wrote:

> Thanks Eric,
>
> is it possible to pause the timer ? so would it be possible to do a drop 
> down with different values that would stop the , resume the timer based on 
> the value chosen ? this is what i am really after , pretty much similar to 
> a ticketing tool 
>
> On Monday, April 5, 2021 at 6:24:11 PM UTC+2 Eric Shulman wrote:
>
>> On Monday, April 5, 2021 at 7:58:29 AM UTC-7 mohamed.e...@vodafone.com 
>> wrote:
>>
>>> is it possible to trigger , start or stop a timer automatically if a 
>>> certain criteria is met?  so similar to a CRM ticketing tool, creating and 
>>> saving a new tiddler would automatically start a timer , or maybe creating 
>>> a new tiddler with a specific Tag would trigger a predefined duration ?
>>>
>>
>> Alarms are defined by creating a field named "alarms" in *any* tiddler.  
>> The contents of the alarms field is a space-separated list, where each 
>> alarm has several parts delimited by semi-colons, like this: 
>> type;date;time;msg, where:
>>
>> *type *is a keyword: "*once*", "*daily*", or a specific day (e.g., "
>> *Sunday*", "*Monday*", etc.)
>> *date *is specified using -0MM-0DD format (e.g. "*2021-04-05*")
>> *time *is specified using 0hh:0mm:0ss format (e.g., "*09:15:30*")
>> *msg *is the text to display when the alarm is triggered.
>>
>> Note that if the type is "*daily*" or a specific day, then the date part 
>> of the alarm definition is left blank but the semi-colon delimiters are 
>> still present, so there will be two adjacent semi-colons (see example 
>> below).  Also, if the msg text contains any spaces, then the entire alarm 
>> definition must be surrounded by doubled square brackets.  For example, the 
>> following "alarms" field content specifies four individual alarms:
>>
>> [[Monday;;07:00:00;Time for another work week :(]] 
>> [[daily;;12:00:00;Lunch break]] [[Friday;;17:00:00;Weekend starts...  
>> YAY!]] [[once;2021-01-01;00:00:00;Happy New Year!]]
>>
>> For your specific use-case (i.e. adding an alarm for a given criteria), 
>> you would need to have a custom button that would create the desired 
>> tiddler and add the appropriate alarms field definition, using one or more 
>> $action-setfield widgets.  It might also be possible to do this whenever a 
>> tiddler is created via the standard "save tiddler" button from the tiddler 
>> editor, but this would require adding some JS code to catch the 
>> "th-saving-tiddler" hook (see 
>> https://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler).
>>
>> enjoy,
>> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d13eedbf-290d-4898-b58c-4eeb2ba1a7a3n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-04-30 Thread paulgilbert2000
Thanks Eric,

is it possible to pause the timer ? so would it be possible to do a drop 
down with different values that would stop the , resume the timer based on 
the value chosen ? this is what i am really after , pretty much similar to 
a ticketing tool 

On Monday, April 5, 2021 at 6:24:11 PM UTC+2 Eric Shulman wrote:

> On Monday, April 5, 2021 at 7:58:29 AM UTC-7 mohamed.e...@vodafone.com 
> wrote:
>
>> is it possible to trigger , start or stop a timer automatically if a 
>> certain criteria is met?  so similar to a CRM ticketing tool, creating and 
>> saving a new tiddler would automatically start a timer , or maybe creating 
>> a new tiddler with a specific Tag would trigger a predefined duration ?
>>
>
> Alarms are defined by creating a field named "alarms" in *any* tiddler.  
> The contents of the alarms field is a space-separated list, where each 
> alarm has several parts delimited by semi-colons, like this: 
> type;date;time;msg, where:
>
> *type *is a keyword: "*once*", "*daily*", or a specific day (e.g., "
> *Sunday*", "*Monday*", etc.)
> *date *is specified using -0MM-0DD format (e.g. "*2021-04-05*")
> *time *is specified using 0hh:0mm:0ss format (e.g., "*09:15:30*")
> *msg *is the text to display when the alarm is triggered.
>
> Note that if the type is "*daily*" or a specific day, then the date part 
> of the alarm definition is left blank but the semi-colon delimiters are 
> still present, so there will be two adjacent semi-colons (see example 
> below).  Also, if the msg text contains any spaces, then the entire alarm 
> definition must be surrounded by doubled square brackets.  For example, the 
> following "alarms" field content specifies four individual alarms:
>
> [[Monday;;07:00:00;Time for another work week :(]] [[daily;;12:00:00;Lunch 
> break]] [[Friday;;17:00:00;Weekend starts...  YAY!]] 
> [[once;2021-01-01;00:00:00;Happy New Year!]]
>
> For your specific use-case (i.e. adding an alarm for a given criteria), 
> you would need to have a custom button that would create the desired 
> tiddler and add the appropriate alarms field definition, using one or more 
> $action-setfield widgets.  It might also be possible to do this whenever a 
> tiddler is created via the standard "save tiddler" button from the tiddler 
> editor, but this would require adding some JS code to catch the 
> "th-saving-tiddler" hook (see 
> https://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler).
>
> enjoy,
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c73f648-53dc-4f0b-8549-bd87c24b9d28n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-04-05 Thread Eric Shulman
On Monday, April 5, 2021 at 7:58:29 AM UTC-7 mohamed.e...@vodafone.com 
wrote:

> is it possible to trigger , start or stop a timer automatically if a 
> certain criteria is met?  so similar to a CRM ticketing tool, creating and 
> saving a new tiddler would automatically start a timer , or maybe creating 
> a new tiddler with a specific Tag would trigger a predefined duration ?
>

Alarms are defined by creating a field named "alarms" in *any* tiddler.  
The contents of the alarms field is a space-separated list, where each 
alarm has several parts delimited by semi-colons, like this: 
type;date;time;msg, where:

*type *is a keyword: "*once*", "*daily*", or a specific day (e.g., "*Sunday*", 
"*Monday*", etc.)
*date *is specified using -0MM-0DD format (e.g. "*2021-04-05*")
*time *is specified using 0hh:0mm:0ss format (e.g., "*09:15:30*")
*msg *is the text to display when the alarm is triggered.

Note that if the type is "*daily*" or a specific day, then the date part of 
the alarm definition is left blank but the semi-colon delimiters are still 
present, so there will be two adjacent semi-colons (see example below).  
Also, if the msg text contains any spaces, then the entire alarm definition 
must be surrounded by doubled square brackets.  For example, the following 
"alarms" field content specifies four individual alarms:

[[Monday;;07:00:00;Time for another work week :(]] [[daily;;12:00:00;Lunch 
break]] [[Friday;;17:00:00;Weekend starts...  YAY!]] 
[[once;2021-01-01;00:00:00;Happy New Year!]]

For your specific use-case (i.e. adding an alarm for a given criteria), you 
would need to have a custom button that would create the desired tiddler 
and add the appropriate alarms field definition, using one or more 
$action-setfield widgets.  It might also be possible to do this whenever a 
tiddler is created via the standard "save tiddler" button from the tiddler 
editor, but this would require adding some JS code to catch the 
"th-saving-tiddler" hook 
(see https://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler).

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e2306a28-78a1-4299-8149-7408fe3095bcn%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-04-05 Thread Eric Shulman
On Tuesday, March 9, 2021 at 7:03:35 AM UTC-8 Jon wrote:

> Whilst I can enter an alarm that repeats every day at 
> http://tiddlytools.com/timer.html, it doesn't work in my wiki - I can set 
> alarms once but the daily alarm doesn't retain the time for some reason. 
> Any ideas?
>

When you set an alarm, it is stored in the "alarms" field of a tiddler and 
will be triggered when the specified date/time is reached, as long as the 
file remains loaded.  However, if you want that alarm to persist across 
sessions (i.e., when you reload the file after closing it or exiting the 
browser), then you must save the file so the tiddler with the "alarms" 
field is saved.
 

> Also, are alarms which have expired whilst the computer has been turned 
> off supposed to trigger when switched back on as I can't reproduce that?
>

No.  Alarms are only triggered while the file is open in the browser.  If 
the date/time for a "once" alarm has already passed (i.e., "expired"), the 
alarm will never trigger.  If the time for an "everyday" or specific day 
alarm has already passed, it will be triggered the next day, or on the 
specified day, but only if the file is currently open in the browser.  Note 
that "once" alarms are not automatically removed, even if the date/time has 
already passed.  This allows you to easily change the existing alarm to 
some future date or time, so that it will no longer be "expired", and will 
then trigger when that date/time is reached (assuming the file is opened in 
the browser, of course).

-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d325dcb6-06d6-4be4-aa94-ac2e90db98e9n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-04-05 Thread 'mohamed maghrabi' via TiddlyWiki
is it possible to trigger , start or stop a timer automatically if a 
certain criteria is met?  so similar to a CRM ticketing tool, creating and 
saving a new tidler would automatically start a timer , or maybe creating a 
new tidler with a specific Tag would trigger a predefined duration ?
On Tuesday, March 9, 2021 at 5:03:35 PM UTC+2 Jon wrote:

> Hi Eric,
>
> Whilst I can enter an alarm that repeats every day at 
> http://tiddlytools.com/timer.html, it doesn't work in my wiki - I can set 
> alarms once but the daily alarm doesn't retain the time for some reason. 
> Any ideas?
>
> Also, are alarms which have expired whilst the computer has been turned 
> off supposed to trigger when switched back on as I can't reproduce that?
>
> Regards
> Jon
>
> On Tuesday, 18 August 2020 at 08:15:15 UTC+1 TW Tones wrote:
>
>> Eric,
>>
>> Thanks for doing that test. I will abandon the hta for this timer need. 
>> It was going to be my main implementation because it opens on boot of my 
>> computer. But the HTA depends on the IE hta component which I believe is 
>> deprecated.
>>
>> Although if this is the only but it can do more,
>>
>> Regards
>> Tony
>>  
>>
>> On Tuesday, August 18, 2020 at 2:03:45 PM UTC+10, Eric Shulman wrote:
>>>
>>> On Monday, August 17, 2020 at 8:05:06 PM UTC-7, Eric Shulman wrote:

 On Monday, August 17, 2020 at 7:32:27 PM UTC-7, TW Tones wrote:
>
> An observation fyi but no expectation of remedy, my windows HTA 
> version the clock in the sidebar does not tick.
>

 OK... I did a little testing myself.  Here's what I did:
>>>
>>> 1) Open timer.html in my usual browser, Chrome
>>> 2) Open empty.html from TiddlyWiki.com in a separate Chrome tab
>>> 3) Use drag-and-drop to import the following tiddlers into empty.html 
>>> from timer.html
>>> TiddlyTools/Timer/Ticker
>>> TiddlyTools/Timer/action-timeout.js
>>> TiddlyTools/Timer/Clocks
>>> TiddlyTools/Timer/SidebarClocks
>>> 4) Save empty.html to a local file (default download saver)
>>> 5) From local filesystem, rename empty.html to empty.hta
>>> 6) Double click empty.hta to start it
>>>
>>> What happens:
>>> * The HTA opens as a stand-alone application window.
>>> * The $:/temp/timer/ticker IS updating once per second.
>>> * The Sidebar digital clock IS running.
>>> * The Sidebar analog clock is NOT running.
>>> * The display of the Analog clock has all three hands pointing straight 
>>> down, and all the clock numbers are in the center, along with all the tick 
>>> marks.
>>>
>>> This suggests that the problem is due to a failure of the HTA to handle 
>>> CSS "transforms" (which are used to set the position and angle of the 
>>> hands, numbers, and tick marks)
>>>
>>> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2376d0f7-86d3-4876-b952-19c960dbdd02n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-03-09 Thread Jon
Hi Eric,

Whilst I can enter an alarm that repeats every day 
at http://tiddlytools.com/timer.html, it doesn't work in my wiki - I can 
set alarms once but the daily alarm doesn't retain the time for some 
reason. Any ideas?

Also, are alarms which have expired whilst the computer has been turned off 
supposed to trigger when switched back on as I can't reproduce that?

Regards
Jon

On Tuesday, 18 August 2020 at 08:15:15 UTC+1 TW Tones wrote:

> Eric,
>
> Thanks for doing that test. I will abandon the hta for this timer need. It 
> was going to be my main implementation because it opens on boot of my 
> computer. But the HTA depends on the IE hta component which I believe is 
> deprecated.
>
> Although if this is the only but it can do more,
>
> Regards
> Tony
>  
>
> On Tuesday, August 18, 2020 at 2:03:45 PM UTC+10, Eric Shulman wrote:
>>
>> On Monday, August 17, 2020 at 8:05:06 PM UTC-7, Eric Shulman wrote:
>>>
>>> On Monday, August 17, 2020 at 7:32:27 PM UTC-7, TW Tones wrote:

 An observation fyi but no expectation of remedy, my windows HTA version 
 the clock in the sidebar does not tick.

>>>
>>> OK... I did a little testing myself.  Here's what I did:
>>
>> 1) Open timer.html in my usual browser, Chrome
>> 2) Open empty.html from TiddlyWiki.com in a separate Chrome tab
>> 3) Use drag-and-drop to import the following tiddlers into empty.html 
>> from timer.html
>> TiddlyTools/Timer/Ticker
>> TiddlyTools/Timer/action-timeout.js
>> TiddlyTools/Timer/Clocks
>> TiddlyTools/Timer/SidebarClocks
>> 4) Save empty.html to a local file (default download saver)
>> 5) From local filesystem, rename empty.html to empty.hta
>> 6) Double click empty.hta to start it
>>
>> What happens:
>> * The HTA opens as a stand-alone application window.
>> * The $:/temp/timer/ticker IS updating once per second.
>> * The Sidebar digital clock IS running.
>> * The Sidebar analog clock is NOT running.
>> * The display of the Analog clock has all three hands pointing straight 
>> down, and all the clock numbers are in the center, along with all the tick 
>> marks.
>>
>> This suggests that the problem is due to a failure of the HTA to handle 
>> CSS "transforms" (which are used to set the position and angle of the 
>> hands, numbers, and tick marks)
>>
>> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15eb8069-ba22-46c1-8632-e8ca90c57b65n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-18 Thread TW Tones
Eric,

Thanks for doing that test. I will abandon the hta for this timer need. It 
was going to be my main implementation because it opens on boot of my 
computer. But the HTA depends on the IE hta component which I believe is 
deprecated.

Although if this is the only but it can do more,

Regards
Tony
 

On Tuesday, August 18, 2020 at 2:03:45 PM UTC+10, Eric Shulman wrote:
>
> On Monday, August 17, 2020 at 8:05:06 PM UTC-7, Eric Shulman wrote:
>>
>> On Monday, August 17, 2020 at 7:32:27 PM UTC-7, TW Tones wrote:
>>>
>>> An observation fyi but no expectation of remedy, my windows HTA version 
>>> the clock in the sidebar does not tick.
>>>
>>
>> OK... I did a little testing myself.  Here's what I did:
>
> 1) Open timer.html in my usual browser, Chrome
> 2) Open empty.html from TiddlyWiki.com in a separate Chrome tab
> 3) Use drag-and-drop to import the following tiddlers into empty.html from 
> timer.html
> TiddlyTools/Timer/Ticker
> TiddlyTools/Timer/action-timeout.js
> TiddlyTools/Timer/Clocks
> TiddlyTools/Timer/SidebarClocks
> 4) Save empty.html to a local file (default download saver)
> 5) From local filesystem, rename empty.html to empty.hta
> 6) Double click empty.hta to start it
>
> What happens:
> * The HTA opens as a stand-alone application window.
> * The $:/temp/timer/ticker IS updating once per second.
> * The Sidebar digital clock IS running.
> * The Sidebar analog clock is NOT running.
> * The display of the Analog clock has all three hands pointing straight 
> down, and all the clock numbers are in the center, along with all the tick 
> marks.
>
> This suggests that the problem is due to a failure of the HTA to handle 
> CSS "transforms" (which are used to set the position and angle of the 
> hands, numbers, and tick marks)
>
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ee3c941-62fe-4aa0-a87c-7ac1bdb73fb8o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-17 Thread Eric Shulman
On Monday, August 17, 2020 at 8:05:06 PM UTC-7, Eric Shulman wrote:
>
> On Monday, August 17, 2020 at 7:32:27 PM UTC-7, TW Tones wrote:
>>
>> An observation fyi but no expectation of remedy, my windows HTA version 
>> the clock in the sidebar does not tick.
>>
>
> OK... I did a little testing myself.  Here's what I did:

1) Open timer.html in my usual browser, Chrome
2) Open empty.html from TiddlyWiki.com in a separate Chrome tab
3) Use drag-and-drop to import the following tiddlers into empty.html from 
timer.html
TiddlyTools/Timer/Ticker
TiddlyTools/Timer/action-timeout.js
TiddlyTools/Timer/Clocks
TiddlyTools/Timer/SidebarClocks
4) Save empty.html to a local file (default download saver)
5) From local filesystem, rename empty.html to empty.hta
6) Double click empty.hta to start it

What happens:
* The HTA opens as a stand-alone application window.
* The $:/temp/timer/ticker IS updating once per second.
* The Sidebar digital clock IS running.
* The Sidebar analog clock is NOT running.
* The display of the Analog clock has all three hands pointing straight 
down, and all the clock numbers are in the center, along with all the tick 
marks.

This suggests that the problem is due to a failure of the HTA to handle CSS 
"transforms" (which are used to set the position and angle of the hands, 
numbers, and tick marks)

-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/54e158ac-c660-4ed2-a623-84686dc157f4o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-17 Thread Eric Shulman
On Monday, August 17, 2020 at 7:32:27 PM UTC-7, TW Tones wrote:
>
> An observation fyi but no expectation of remedy, my windows HTA version 
> the clock in the sidebar does not tick.
>

Hmm... that's odd.  The first thing to do is to check to see if 
TiddlyTools/Timer/Ticker is actually running by opening 
$:/temp/timer/ticker.  The text of that tiddler should be a 17-digit 
datetime value that is being automatically updated once per second.  Note 
that the Ticker is tagged with $:/tags/StartupAction, which is supposed to 
be invoked when you load the file.  I wonder if the HTA somehow fails to 
trigger the StartupActions, which are run from $:/core/modules/startup.js

If the Ticker IS running, then the next thing to check is to see if the 
sidebar *digital *clock is running.  If it is, then the problem would be 
limited to just the analog clock display, and might be related to the CSS 
used to render the analog clock.  Perhaps the HTA isn't responding to 
dynamically changing updates to CSS?

Let me know what happens...

-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c369f4d6-4ab8-4019-93e4-9eadcc735ef4o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-17 Thread TW Tones
Eric

An observation fyi but no expectation of remedy, my windows HTA version the 
clock in the sidebar does not tick.

Regards
Tony

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9629e11c-3bd4-424a-b660-98d39c6c750ao%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-17 Thread Eric Shulman
Update August 17 4pm PDT: http://TiddlyTools.com/timer.html

* IMPORTANT: TiddlyTools/Timer/Ticker adjusts for "drift" due to Alarms and 
CountDown processing overhead.
\define ticker(delay:1000)
<$action-timeout delay="$delay$" actions="""
   <$action-setfield $tiddler="$:/temp/timer/ticker" text=<> />
   <$importvariables filter="TiddlyTools/Timer/Alarms"><> 
  
   <$importvariables filter="TiddlyTools/Timer/CountDown"> 
<> 
   
   <$vars msec=<>><$vars delay={{{ [[1000]subtract] }}}>
   <$macrocall $name="ticker" delay=<> />
   
"""/>
\end
<>
Previously, ticks could accumulate as much as several hundred milliseconds 
overhead that would eventually cause it to "skip" to the next second (this 
could occur as frequently as every few seconds, depending upon how much 
processing overhead was taken by servicing the Alarms and CountDown 
handlers.

* SampleSequence (a programmed CountDown example)
   - completely re-written to work with global ticker-based timeouts
   - no longer skips a second when cycling through multiple sessions 
(actually a fix to underlying CountDown code)
   - has option to enable/disable modal messages ("ask to continue")
   - displays event messages inline for better tracking of events during 
active sequence

Note: The tiddler contents have been updated, but the tiddler modified 
datetimes haven't changed (I had the timestamps off for testing purposes).  
You should copy ALL tiddlers when updating.

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c96311ed-897b-409e-9413-e974dbd88db3o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-15 Thread TiddlyTweeter
Eric

I'm really appreciating how you have worked on this set of tools.

You taking them "all the way". Persisting to squeeze the best out of TW. 
And thereby showing brilliance in the time "apps" & the underlying nature 
of "mother". App. dev leverage for purpose off given primitives. Superb.

I have read & sampled each step. Big learning experience for me! Very Good 
to see all the iterations. 

It is an instance of the actual *iterative process of getting stuff optimal*
.

Its own case study! Briiliant!

Thank you!

(P.S. FWIW, your latest changes do solve the lag on "World Times" clocks.)

Best wishes
TT
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c16025d1-0403-40d0-9f14-db8d044e73d1o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-15 Thread Eric Shulman
On Friday, August 14, 2020 at 11:59:12 PM UTC-7, TW Tones wrote:
>
> ... I was not sure which are dependencies and which are options.
>
Have you planed to package these in a particular way or can you provide a 
> little guidance as to how we can take these wonderful tools to our wikis?


I've updated the TiddlyTools/Timer/Info so that each tiddler indicates 
which other tiddlers it uses.
So... to install a particular feature, you need to copy that tiddler plus 
all the tiddlers listed as dependencies (i.e., "Uses: ")

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf7f2f03-55b7-4467-a3e2-670f003e8277o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-15 Thread Eric Shulman
Update August 15 1am PDT: http://TiddlyTools.com/timer.html
 
Another bit of PERFORMANCE IMPROVEMENT...

>
Previously... I said that CountDown and AutoSaver still started separate 
timeouts (instead of the new *shared* TiddlyTools/Timer/Ticker 
StartupAction).  I had *claimed* that they don't stack up interrupts due to 
refresh events... but I was mistaken.  It turned out that if you repeatedly 
open and close a countdown timer, it would start to count faster and faster 
(because of the multiple stacked interrupts due to the refresh events).

Of course, this was a problem so I solved it.

Now... CountDown and AutoSaver now use the same *shared* 
TiddlyTools/Timer/Ticker.  I had to rework the ticker logic in 
TiddlyTools/Timer/CountDown, but it turned out to not be as difficult as I 
had thought.

So... now ALL the TiddlyTools/Timer functions use the same once-a-second 
ticker loaded as a StartupAction, and there is NO additional timeout 
overhead regardless of how many times you open/close these tiddlers.

-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1c5d670-fae9-4b6f-8175-0afd045b573fo%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-15 Thread TW Tones
Eric

This is fabulous. I was thinking of placing two world clock on a site. I 
realised that your solutions are contained in a set of tiddlers with a given 
prefix and I was not sure which are dependencies and which are options.

Have you planed to package these in a particular way or can you provide a 
little guidance as to how we can take these wonderful tools to our wikis?

I am happy to package these as needed for myself but would like a little 
guidance on this. Perhaps I should already understand this but I am uncertain. 
I have followed your development journey and are very impressed but not 
confident I know how to select or bundle these. I am aware as developer it can 
be hard to imagin what a nieve user will understand when you have such a deep 
knowledge since you built it.

I am very excited with the possibilities you have opened up to us all, and 
certainly plan to share some implementations back.

Thanks
Tones

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a695c4ad-0d8b-42c6-8f4e-e6ba06b0ee2fo%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-14 Thread Eric Shulman
Update August 14 7pm PDT: http://TiddlyTools.com/timer.html

MAJOR PERFORMANCE IMPROVEMENT!

Previously:
each timer, clock, countdown and alarm created a separate timeout. This 
resulted in increasing overhead as more clocks, timers, etc. were in use.

Now:
A new tiddler has been added: TiddlyTools/Timer/Ticker, tagged with 
$:/tags/StartupAction.  This tiddler establishes one *shared* ticker for 
all clocks, timers, and alarms. The result is a MAJOR reduction in 
overhead.  No matter how many clocks, timers, or alarms are in use, there 
is only ONE tick per second.  This is especially noticeable when displaying 
the WorldClocks, which currently can show up to 24 simultaneous clock 
displays (12 analog and 12 digital).  So... instead of 24 timeouts per 
second, there's only 1 

This also eliminates a subtle but troubling problem whereby tiddler refresh 
events would result in extra timeouts being started, resulting in "runaway" 
interrupts accumulating until performance slowed to a crawl (or even caused 
"stack overflow" red screens!).  Everything is now MUCH more stable, 
reliable, and efficient!

Note: CountDown (and AutoSaver) functions still start separate timeouts 
because they do very different logic.  Instead of simply tracking the 
current datetime value, they compute seconds of "time remaining", and when 
they reach 0 seconds, they stop and trigger events (e.g., a message display 
or a file save action). However, unlike the clock and alarm functions, the 
Countdown/AutoSaver functions do not "auto start on render".   Thus, they 
don't stack up
"runaway" interrupts due to refresh events, and the timeout overhead for 
each countdown is automatically eliminated as soon as it reaches 0.

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b45d6f4b-6adb-4879-9454-757510cc309bo%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-11 Thread Eric Shulman
Update August 11 6pm PDT: http://TiddlyTools.com/timer.html

NEW TIDDLER ADDED: *TiddlyTools/Timer/Alarms*

Displays a digital AlarmClock that can have multiple alarms set.

   - To define an alarm, begin by selecting Once, Daily, or a specific Day 
   of the week.
   - If you select Once, select a month, date, and year. The inputs will 
   default to the current date.
   - Enter the desired hours, minutes and seconds using 24-hour notation. 
   Any inputs left blank will default to the current time.
   - Enter an (optional) message that will be displayed when the alarm is 
   triggered. If no message is provided a default message will be displayed.
   - Press [checkmark] to save the alarm. You can press [X] to reset the 
   inputs.
   - When at least one alarm has been saved, a list of alarms will be 
   displayed.
   - You can click on the list heading to pause/resume the saved alarms. 
   While paused, [paused clock] is displayed, indicating that no alarm 
   processing will occur.
   - To delete all saved alarms, press [trashcan] in the alarm list 
   heading. You will be asked to confirm before the alarms are deleted.
   - To delete a specific saved alarm, press the [trashcan] button next to 
   that alarm. You will be asked to confirm before the alarm is deleted.

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/77fc82d4-776f-4bdc-89e6-303a42ef0976o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-09 Thread Eric Shulman
Update August 9 7:43am PDT: http://TiddlyTools.com/timer.html

On Sunday, August 9, 2020 at 3:08:53 AM UTC-7, Pit.W. wrote:

No problems running it so far. It exactly meets what I need for a task I am 
> working on, so I use it for productivity. All fine so far.
>
 
found a few configuration bugs... see below...  get the update!

Do you plan to pack this into a plugin?
>

Probably.. but not yet. 

I propose to set the default formats for date and time to ISO 8601 
> https://en.wikipedia.org/wiki/ISO_8601, to ease the use for newcomers.
>

Agreed.  See update notes below: 

* use ISO 8601 date format for Timer, Clocks, AutoSaver, WorldClocks, 
SidebarClocks
* note: Clocks, WorldClocks, SidebarClocks also show day name in addition 
to ISO 8601
* note: WorldClocks also always shows timezone offsets (using "+00:00" 
format)
* Timer - use "ticker_temp" instead of "temp" (was colliding with Clocks 
macros)
* Clocks - use "clock_temp" instead of "temp" (was colliding with Timer 
macros)
* WorldClocks - use "world_format" configuration for easier customization
* SidebarClocks - use sidebar_format (was using default clock_format by 
mistake)
* Info - added WorldClocks setup (world_format), revised WorldClocks info 
to match setup

enjoy,
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/afeac902-a6ed-46f4-9e40-705152c08285o%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2020-08-09 Thread Pit.W.

Eric,

1. No problems running it so far. It exactly meets what I need for a
   task I am working on, so I use it for productivity. All fine so far.
2. Do you plan to pack this into a plugin?
3. I propose to set the default formats for date and time to ISO 8601
   https://en.wikipedia.org/wiki/ISO_8601, to ease the use for newcomers.

Thanks as always,

Pit.W


Am 09.08.2020 um 02:40 schrieb Eric Shulman:

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 <> *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 <> 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


* AnalogClock/DigitalClock - handle leap years in "days per month"
(dpm) calculations in adjustForTimezone()

|
<$vars   leap={{{
[divide[4]split[.]count[]match[1]then[yes]] }}}>
<$set    name="dpm" value="31 28 31 30 31 30 31 31 30 31 30 31">

<$set    name="dpm" filter="[!match[]]" value="31 29 31 30
31 30 31 31 30 31 30 31" emptyValue=<>>
|

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 tiddlywiki+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/07bb6406-7509-437e-8eb2-3682793e79beo%40googlegroups.com 
.



_

Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte 
E-Mail-Adresse mitnehmen! https://www.eclipso.de

--
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b3786e26-3869-bb47-2f8b-5d79b9d1abe9%40eclipso.ch.