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

Exercises: Submission time should be calculated using server time #9940

Open
HawKhiem opened this issue Dec 4, 2024 · 1 comment
Open

Exercises: Submission time should be calculated using server time #9940

HawKhiem opened this issue Dec 4, 2024 · 1 comment
Labels
assessment Pull requests that affect the corresponding module bug exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module

Comments

@HawKhiem
Copy link

HawKhiem commented Dec 4, 2024

Describe the bug

I was solving an exercise in PSE. My laptop time wasn't synced when I pushed the code. I noticed that the time of the submissions was caculated using my time instead of the server time and hence created this strange behavior seen below in the screenshot (Instead of "x minutes ago", I have "in 29 minutes" for my latest submission, "in 27 minutes" for my second last submission, which makes sense since my laptop was 30 minutes behind the actual time). I think this might have caused the issue #9938

image

To Reproduce

  1. Go to any course on Artemis
  2. Clone an exercise and change the time locally
  3. Push the code to Artemis
  4. See error

Expected behavior

Time should be calculated using server time

Screenshots

No response

Which version of Artemis are you seeing the problem on?

7.7.4

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

No response

@HawKhiem HawKhiem added the bug label Dec 4, 2024
@github-actions github-actions bot added assessment Pull requests that affect the corresponding module exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module labels Dec 4, 2024
@badkeyy
Copy link
Contributor

badkeyy commented Dec 4, 2024

I will have a look at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assessment Pull requests that affect the corresponding module bug exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module
Projects
None yet
Development

No branches or pull requests

2 participants