Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): change precision point of time #4453

Closed
wants to merge 3 commits into from

Conversation

akshay-97
Copy link
Contributor

@akshay-97 akshay-97 commented Apr 24, 2024

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

round off for ms when precision set to 3 is generating faulty seconds value of 60, having a larger precision so that rounding off doesnt happen (permanent fix is to update time crate once issue is resolved)

hotfix pr: #4401

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

round off for ms when precision set to 3 is generating faulty seconds value of 60, having a larger precision so that rounding off doesnt happen (permanent fix is to update time crate once issue is resolved)

How did you test it?

run unit tests by generating timestamps, no specific integration tests

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@akshay-97 akshay-97 self-assigned this Apr 24, 2024
@akshay-97 akshay-97 requested a review from a team as a code owner April 24, 2024 11:24
@akshay-97 akshay-97 changed the title change in time precision chore(deps): change precision point of time Apr 24, 2024
dracarys18
dracarys18 previously approved these changes Apr 24, 2024
Narayanbhat166
Narayanbhat166 previously approved these changes Apr 24, 2024
@hyperswitch-bot hyperswitch-bot bot dismissed stale reviews from Narayanbhat166 and dracarys18 via ed7cbd5 April 24, 2024 11:36
@akshay-97 akshay-97 requested a review from a team as a code owner April 24, 2024 11:38
@akshay-97 akshay-97 closed this Apr 24, 2024
@Gnanasundari24 Gnanasundari24 deleted the time/fix branch April 25, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants