Ok, I see that there is also already a conflict with the ISO notation in 
the DDD token, which in ISO 8601 is used for three digit day of year.
Maybe that could be nice to have as TW date token also.

https://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates
> As represented above, [YYYY] indicates a year. [DDD] is the day of that 
year, from 001 through 365 (366 in leap years). For example, "1981-04-05" 
is also "1981-095".

The "dd" format is reminding of the numerical notation in the month date, 
but at the same time may be confusingly similar and suggesting a two digit 
representation. "dddd" feels more related to the existing weekday name 
notations, one could think that longer token indicates lesser units in this 
case. I'm not sure which one to prefer.
How could a day of year-token fit into this? yDDD?

On Monday, 13 September 2021 at 20:46:04 UTC+2 jeremy... wrote:

> Nice to hear it is already taken care of, thank you.
>
> I was almost on my way to make a pull request myself, as an exercise in 
> contributing to an open source project, but I am not sure about the 
> customs, if I should create an issue first.
>
>
> It's probably usually best to open an issue (or comment on an existing 
> one) for discussion before preparing a PR to minimise the chances of it 
> subsequently being rejected for a reason you haven't foreseen. We are 
> always keen to welcome new contributors, and you'll find plenty of help and 
> encouragement when you need it.
>
> Of curiosity, may I ask why you chose "dddd" as the token for week date 
> number, instead of the "D" symbol used in the ISO 8601 formats notation?
>
>
> We don't currently use any single character tokens, originally to minimise 
> the chances of triggering any boilerplate text in the template (ie, a 
> format string could be "The year is YYYY").
>
> Now that I started to write out the rationale for the choice of "dddd", 
> I'm realising that perhaps I think "dd" might be a better choice. What do 
> others think?
>
> Best wishes
>
> Jeremy
>
>
>
> On Sunday, 12 September 2021 at 12:58:44 UTC+2 jeremy... wrote:
>
>> Thanks CJ for the cunning workaround. For v5.2.0 I've now added a new 
>> date format string token "dddd" for directly obtaining the ISO weekday 
>> number (ie 1=Monday, 7=Sunday):
>>
>> https://tiddlywiki.com/prerelease/#DateFormat
>>
>> (It'll take a few minutes from this posting until the change shows up).
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>

-- 
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/398b3337-65a8-46ad-a860-1f60170c4b9bn%40googlegroups.com.

Reply via email to