aws-samples / container-patterns

Apache License 2.0
36 stars 10 forks source link

fix dates not parsing in Safari and Firefox #57

Closed nathanpeck closed 1 year ago

nathanpeck commented 1 year ago

Description

This fixes a bug where there was a hydration mismatch in Firefox and Safari due to differences in Date parsing logic between Chromium based browsers, and Firefox + Safari.

The posts with unparsable dates ended up out of order in the markup in these browsers, causing mismatches in where you ended up when clicking on a pattern.

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

containers-aws-bot commented 1 year ago

container-patterns PR Release triggered by aws-samples

👋 Thank you for your PR! Preview environment release has started. This conversation will be updated with a preview URL soon.

🔗 Link to Action run

Commit ref: fix-dates Commit sha: 6aad2adc5268b38a6c013663b8e7f1245c7cd6d4

✅ Release succeeded

🔗 Link to Preview URL

containers-aws-bot commented 1 year ago

📄 PR has been closed.

✅ The Amplify preview environment has been removed. ✅ Working branch has been deleted according to policy.