Skip to content

Commit

Permalink
Hour should be included in Column alignment (#5487)
Browse files Browse the repository at this point in the history
Split from #5465

Happy to close this and keep the change in the context of #5465
  • Loading branch information
sffc authored Sep 4, 2024
1 parent 287e3ff commit a30ae89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/datetime/src/raw/neo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,10 @@ impl<'a> ItemsAndOptions<'a> {
&& field.length == FieldLength::One
&& matches!(
field.symbol,
FieldSymbol::Month(_) | FieldSymbol::Day(_) | FieldSymbol::Week(_)
FieldSymbol::Month(_)
| FieldSymbol::Day(_)
| FieldSymbol::Week(_)
| FieldSymbol::Hour(_)
)
{
field.length = FieldLength::TwoDigit;
Expand Down

0 comments on commit a30ae89

Please sign in to comment.