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

Fix SecToTime edge-cases #20610

Merged
merged 12 commits into from
Aug 8, 2022
Merged

Fix SecToTime edge-cases #20610

merged 12 commits into from
Aug 8, 2022

Commits on Aug 2, 2022

  1. Fix SecToTime edge-cases

    - Currently there are edge-cases where the code fails to produce the
    correct results, this is mainly due to the misusage of the modulo
    operator. Well this could be fixed, it's better to use a more performant
    way and simply distract the previous number's cost to calculate the
    variables.
    - Resolves go-gitea#20589
    Gusted committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    fbe1b0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e266ad0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a94e21a View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Co-authored-by: delvh <dev.lh@web.de>
    Gusted and delvh committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    db4b4aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4727f0f View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Update modules/util/sec_to_time.go

    Co-authored-by: Edgar Bonet <edgar-bonet@users.noreply.github.com>
    Gusted and edgar-bonet committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    d6468e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    073252a View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. Configuration menu
    Copy the full SHA
    1d83cf0 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    Gusted committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    750b797 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e7e93f View commit details
    Browse the repository at this point in the history
  4. Fix tests

    Gusted committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    6847342 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Configuration menu
    Copy the full SHA
    529af45 View commit details
    Browse the repository at this point in the history