Thanks Tony! On Tuesday, March 3, 2020 at 4:55:29 PM UTC-7, TonyM wrote: > > David, > > Yes, I expected you may ask that. See How I raised something for this in > the dev forum Propose: Simple date validation operator > <https://groups.google.com/forum/?hl=en#!topic/tiddlywikidev/A9KWHo2d0mo> > > I could see the answer is not so simple if you need to ensure valid dates, > if you want to generate short date ranges like in your example it can be > trivial > > <$list filter="[range[.03,.09,.01]removeprefix[0.]addprefix[2020-03-]]"> > > </$list> > See how I use decimal numbers and remove prefix to have the result have a > leading zero (below 10) > > However personally I would keep dates as simple numbers > <$list filter="[range[.01,.31,.01]removeprefix[0.]addprefix[202003]]"> > > </$list> > because then you can ask if one is greater than the other and reformat it > later > True YYYY-MM-DD can also be compared < > > > The view widget can translate a value in a field into and date format you > want to display it, leave the display format to the end where possible, as > this maintains your choice and keeps it simple. > > I still feel we need the ability to feed a date <variable> into the view > widget. > > Regards > Tony > > > > > On Wednesday, March 4, 2020 at 10:32:27 AM UTC+11, Dave wrote: >> >> Oh, sorry, I meant a programmatically derived list, something like a list >> from now to a week from now, or a list from a week ago to a week from now. >> >> On Tuesday, March 3, 2020 at 4:06:16 PM UTC-7, TonyM wrote: >>> >>> Dave; >>> >>> Ultimatly it depends on how you source these date names but perhaps this >>> gives a clue? >>> >>> <$list filter=" >>> 2020-03-03 >>> 2020-03-04 >>> 2020-03-05 >>> 2020-03-06 >>> 2020-03-07 >>> 2020-03-08 >>> 2020-03-09 >>> "> >>> <$link /><br> >>> </$list> >>> >>> Regards >>> Tony >>> >>> On Wednesday, March 4, 2020 at 9:08:45 AM UTC+11, Dave wrote: >>>> >>>> Is there a native way to print a list of dates for a specified date >>>> range, e.g.: >>>> >>>> 2020-03-03 >>>> 2020-03-04 >>>> 2020-03-05 >>>> 2020-03-06 >>>> 2020-03-07 >>>> 2020-03-08 >>>> 2020-03-09 >>>> >>>> Whereby they would show as links, even if they aren't currently a >>>> tiddler? >>>> >>>> >>>> Thanks, >>>> >>>> - Dave >>>> >>>
-- 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/66920557-6473-4e9b-8f1d-5079d660f043%40googlegroups.com.

