How does dateStyle/timeStyle fit in with that model?
IIRC, dateStyle/timeStyle basically maps a locale to a preferred skeleton. We could then apply the same filtering to that skeleton before running the pattern matching. Thoughts?
@sffc That sounds good to me. Are there any difficult issues from there to work out? Should we put this in the Temporal spec text now, or wait for this to hit Stage 4? cc @ms2ger @ryzokuken
Temporal uses a sort of "filter" for which fields from the options bag are used to format the values.
https://github.com/tc39/proposal-temporal/issues/169#issuecomment-540696570
How does dateStyle/timeStyle fit in with that model?
IIRC, dateStyle/timeStyle basically maps a locale to a preferred skeleton. We could then apply the same filtering to that skeleton before running the pattern matching. Thoughts?
@littledan @zbraniecki @pipobscure