Open tonischilling opened 2 years ago
Hrrrg! Sorry, somehow I hit [save], before I finished the description.
Description continued ...
Steps to reproduce
Expected result: Table "Time-Logged-In-Redmine" should show "am 4.Oktober"
I hacked this into t2r.js to find the reason:
I got this in the Developer-Console: Internally the time part of the ISO-string will be cut off and replaced by "00:00:00Z", giving us the previous day when fetching the Redmine entries.
my suggestion: Instead of dealing with the User-Locale on browser-side, it would be better, to send the picked date "as is" to the Rails-Action. On Rails-side the users | redmines |servers locale is well known, ...
Context:
Bug summary When using T2R from Germany and picking a date in the DatePicker (or just use the current date), it will be transformed to the __date of the _previous day, giving a wrong search interval for the Redmine-TimeEntries__.
To Reproduce
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Device information
Additional context Add any other context about the problem here.