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