Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

NOISSUE - Fix send messages page time format #238

Merged
merged 8 commits into from
Mar 15, 2024

Conversation

ianmuchyri
Copy link
Contributor

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Dependency Update

What does this do?

fix read messages page time format to be precision independent.

Which issue(s) does this PR fix/relate to?

NOISSUE

Have you included tests for your changes?

  • Yes
  • No, and this is why:

Did you document any new/modified functionality?

  • Yes
  • No, and this is why:

Notes

@ianmuchyri ianmuchyri marked this pull request as ready for review March 14, 2024 11:31
ui/service.go Outdated Show resolved Hide resolved
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
ui/service.go Outdated
statusOptions = []string{"all", "enabled", "disabled"}
uuidPattern = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
intervalPattern = "^([0-9][0-9]*[smhd])$"
MilliToNanoConverter = math.Pow10(6)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use to MilliToNanoRatio = 1e6.

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@0bb1df1). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage        ?   76.74%           
=======================================
  Files           ?        3           
  Lines           ?      215           
  Branches        ?        0           
=======================================
  Hits            ?      165           
  Misses          ?       34           
  Partials        ?       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dborovcanin dborovcanin merged commit f1788ba into absmach:main Mar 15, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants