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 due date rendering the wrong date in issue (#22302) #22306

Merged
merged 2 commits into from
Jan 2, 2023

Commits on Jan 1, 2023

  1. Fix due date rendering the wrong date in issue (go-gitea#22302)

    Backport go-gitea#22302
    
    Previously, the last minute of the chosen date caused bad timezone rendering.
    
    For example, I chose January 4th, 2023.
    
    ### Before
    ```html
    <time data-format="date" datetime="Wed, 04 Jan 2023 23:59:59 +0000">January 5, 2023</time>
    ```
    
    ### After
    ```html
    <time data-format="date" datetime="2023-01-04">January 4, 2023</time>
    ```
    
    ---
    
    Closes go-gitea#21999
    
    Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
    yardenshoham committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    87ab930 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20a6135 View commit details
    Browse the repository at this point in the history