Tony!
 I am developing a timelines plugin and it uses a field to keep date and it 
is not the modified/created system field!
So I want user has the flexibility to enter date as 2019-03-01 or 20190301.

--Mohammad

On Friday, August 2, 2019 at 2:45:13 AM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> With respect why?, I would keep the dates in system format and produce the 
> output in the required format.
>
> My Journal tiddlers put the date in a journal-date field for this very 
> reason.
>
> An approach, would be to use the new split operator on "-" then the set 
> widgets select keyword to extract YYYY MM and DD values.
>
> Regards
> Tony
>
>
> On Friday, August 2, 2019 at 2:28:56 AM UTC+10, Mohammad wrote:
>>
>> In tiddlywiki.com create a tiddler with a filed called yd
>>
>> in the yd filed enter the below value
>>
>> 20190801
>>
>> and in the text filed enter the below script
>>
>> <$view field="yd" format="date" template="mmm 0DD, YYYY" />
>>
>> It will show the below result
>>
>> Aug 01, 2019
>>
>>
>> *Question*
>>
>> My question is how one can enter *2019-08-01* and get the same result?
>> Seems *$view* only work with a raw format of date.
>>
>> I know there is a good macro developed by S.S to work with dates but I 
>> need a little simpler mechanism or a way to use the core feature!
>>
>> --Mohammad
>>
>

-- 
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/d227e709-22d4-4ab5-8e65-05595fd8fb47%40googlegroups.com.

Reply via email to