Skip to content

[pull] master from moment:master - #105

Merged
pull[bot] merged 5 commits into
LoganRupe:masterfrom
moment:master
Aug 6, 2026
Merged

[pull] master from moment:master#105
pull[bot] merged 5 commits into
LoganRupe:masterfrom
moment:master

Conversation

@pull

@pull pull Bot commented Aug 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

spokodev and others added 5 commits August 5, 2026 22:27
…#1786)

With signMode "negativeLargestOnly", the negative sign is shown only on
the largest formatted unit. When that unit rounds to zero (e.g. a -30
minute duration formatted as "h:mm"), "auto" sign display dropped the
sign entirely, producing "0:30" — indistinguishable from a positive
duration. Use negative zero for the largest unit in that case so the
sign is preserved, yielding "-0:30".
DateTime.fromFormat('18:30 AM', 'h:mm a') returned a valid DateTime even though
18 is not a valid hour for the 12-hour 'h' token. When a meridiem is present the
hour must be in [1, 12]; otherwise the result is now invalid.

Closes #1625
…1790)

Interval#hasSame short-circuited to true for any empty interval, ignoring
the case where the two endpoints share an instant but sit in different
zones with differing local unit values. Compare the endpoints directly
instead so a zone mismatch is respected.

Closes #1424
@pull pull Bot locked and limited conversation to collaborators Aug 6, 2026
@pull pull Bot added the ⤵️ pull label Aug 6, 2026
@pull
pull Bot merged commit aeb7427 into LoganRupe:master Aug 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants