That certainly did it!!!

 

Thanks,

 

Randy

 

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Eric Shulman
Sent: Wednesday, July 10, 2013 5:03 PM
To: [email protected]
Subject: [tw] Re: Get the current month in a plugin

 

On Wednesday, July 10, 2013 1:34:22 PM UTC-7, RLM wrote:

Tiddlywiki 2.7.2

I have a tiddler containing a tabs macro that is opened by default on
starting. The tabs contain month names (eg. Jan, Feb,...)
I have placed a line in a systemConfig tiddler zzOpenTabs that says

config.options.monthViewTab="Jul";

and this works (it opens to the Jul tab). However, I'd like to dynamically
get the current month. 

 

This should do it:

   config.options.monthViewTab = new Date().formatString("mmm");

 

enjoy,

-e

Eric Shulman

TiddlyTools / ELS Design Studios

 

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...

   http://www.TiddlyTools.com/#Donations

 

Professional TiddlyWiki Consulting Services...

Analysis, Design, and Custom Solutions:

   http://www.TiddlyTools.com/#Contact

 

 

-- 
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/U66gpAuk_uk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3349 / Virus Database: 3204/6479 - Release Date: 07/10/13

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to