-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Convert error report timestamps to ISO format #11887
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I don't think you need a separate file. You can inline the currentDateToIsoDateFormat
function in my opinion, i.e. call LocalDateTime.now().format(DateTimeFormatter.ISO_DATE_TIME)
directly.
You are right @Stypox but this file will work as a helper class for other date time related functions still if you feel that this is not required then please let me know here |
Yes please remove it, there is no much use in a utility function that just wraps another function in a very specific way. |
Please post the new format so that I can prepare an update for the importer to additionally support the new format. Ideally, please post the entire JSON. |
Could you please elaborate? |
I think he means, just open the app built by this PR, go to settings->debug, use the button to make the app crash (which should open the report screen), click on the button to report via mail and send here the json report that your email client would put in the email body. |
|
One thing I am missing is the timezone indicator in this timestamp. For UTC, it should denote a trailing Z, right? Edit: I mean, we can just assume UTC, too, but I'd rather make it explicit. Python can parse that easily, too. Even if it's just a hack and you append the |
In this case I’d even add the timezone of the device to the timestamp, because it is kind of important information (e.g. to figure out which day it was locally) |
9b5f6b0
to
45745d3
Compare
I pushed a small change, now it looks like this:
So a proper timestamp with offset; I wanted to add an extra “Time Zone” field with the name of the time zone (e.g. |
Wait the markdown I copied doesn’t even include the string … lol. I’ll add it |
Will have a timezone offset and be parsable as valid ISO8601 timestamp. Also change the label in the UI to just say “Timestamp”
45745d3
to
65749cb
Compare
These were displayed in the UI, but not added into the markdown export string.
Cool, now it looks like this:
|
Quality Gate passedIssues Measures |
Edit: nevermind, found it. |
What is it?
Description of the changes in your PR
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence