Hello all, I'm often building out calendar lists and so using variants of date plugins from others - mostly add-time from Jed / inmysocks. I find that on a case by case basis I need the date in a different format. Sometimes the "native" YYYY0MM0DD, usually ISO YYYY-0MM-0DD, sometimes just the MMDD part (my current need) etc. Ideally the <$view format="date" template="..."> widget would allow me to fed it a macro as input, but it appears to only pull from a tiddler field.
Currently I'm just copy-pasting the add-time.js over and over with different names for each format I need, and struggling through modifying the javascript (I'm not a programmer) each time, but thought somebody could either tell me that there's an easy way to feed a value from a macro into <$view> widget without writing it to a tiddler first, or have an enhanced version of add-time.js that allowed a "template" string parameter to format the output (I would consider this ideal). I've been trying to understand javascript date formatting hoping that natively I could pass it something like "YYYY-MM-DD" but that doesn't appear to be the case. Any ideas? -- 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/de6b0e62-d62f-4609-8923-d41f4896e696%40googlegroups.com.

