Skip to content

Conversation

@pjkaufman
Copy link
Collaborator

Fixes #1411

There seems to be a bug in moment where parsing values with escaped characters in strict mode means the result will not be valid even if it was generated using the format used to parse it. So we need to handle things a little differently to allow that logic to work.

Changes Made:

  • Added a test for the scenario in question
  • Updated the logic for moment parsing and comparisons to not use strict and instead double check the output value of comparing the moment parsed value converted back to the original format and the original value to make sure they are the same

@pjkaufman pjkaufman self-assigned this Oct 15, 2025
@pjkaufman pjkaufman added the bug Something isn't working label Oct 15, 2025
@pjkaufman pjkaufman changed the title Handle Escaped Characters in Timestamp Format Fix Escaped Characters in Timestamp Format Resulting in Forced Update Even when It Should Not Oct 15, 2025
@pjkaufman pjkaufman merged commit 4ef12b1 into platers:master Oct 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: The linter changes the modified date for all opened files without any modifications made

1 participant