Skip to content

Datetime: should textual names do something with the Alignment option? #6296

Open
@sffc

Description

@sffc

Currently the Alignment option only aligns numeric fields.

Should it also do something with text fields? For example, a locale could have multiple sets of data, and the alignment option could pick one:

Full Abbreviated Abbreviated and Aligned
Monday Mon. Mon
Tuesday Tues. Tue
Wednesday Wed. Wed
Thursday Thurs. Thu
Friday Fri. Fri
Saturday Sat. Sat
Sunday Sun. Sun

CLDR already has 4 different weekday lengths in some locales, which may include data such as above, but it isn't defined to behave in this way as far as I know.

Note: as evidenced even in the above table, having the same number of characters isn't necessarily sufficient for column alignment.

I'm opening this issue to track this feature request moving forward, but I do not have plans to take action until a client requests it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-designArea: Architecture or designC-datetimeComponent: datetime, calendars, time zonesblockedA dependency must be resolved before this is actionable

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions