chore: remove redundant calls to format already formatted Datetime strings#11121
chore: remove redundant calls to format already formatted Datetime strings#11121Bigpet wants to merge 1 commit intoopensearch-project:mainfrom
Conversation
The tests for the now unused removed function also used to fail unless the timezone was set to UTC. Signed-off-by: Peter Tissen <dravorek@gmail.com>
📝 WalkthroughWalkthroughThis PR removes the unused Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Remove redundant calls to format already formatted Datetime strings
The tests for the now unused removed function also used to fail unless the timezone was set to UTC.
So there's some test flakiness that was reduced.
Issues Resolved
timezone sensitive tests removed
Screenshot
no visible change
Testing the changes
no functional change.
Tests all pass and if manual testing was done with the PPL query builder.
Changelog
Check List
yarn test:jest(with the exception ofcalls reportOptInStatus if reportOptInStatusChange is true, but that failed on my machine before the changes as well)yarn test:jest_integration[ ] New functionality includes testing.no new functionatity[ ] New functionality has been documented.no new functionatity[ ] Update CHANGELOG.mdno new functionatitySummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.