Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Issue 370 fix date format on dialogs #376

Merged
merged 3 commits into from
Jan 14, 2019
Merged

Issue 370 fix date format on dialogs #376

merged 3 commits into from
Jan 14, 2019

Conversation

ggalmazor
Copy link
Contributor

Closes #370

What has been done to verify that this works as intended?

  • Manually checked correct date formats on the purge dialogs (submissions and publishers)
  • Manually checked correct dateTime formats on the export and publisher tables

Why is this the best possible solution? Were any other approaches considered?

The best solution would be that GWT emulates java.time and we can reuse JRTemporal on the client but, unfortunately, it doesn't.

I've reproduced the same formats on a new GwtShims class, which is reused across the web UI.

Are there any risks to merging this code? If so, what are they?

Nope.

Do we need any specific form for testing your changes? If so, please attach one

Nope.

Does this change require updates to documentation? If so, please file an issue at https://github.com/opendatakit/docs/issues/new and include the link below.

Yes, along with other changes in v2.0

- Can't reuse JRTemporal because GWT doesn't emulate java.time
- Add new GWT module to transpile the GwtShims class
@ggalmazor ggalmazor added the bug label Jan 11, 2019
@ggalmazor ggalmazor added this to the v2.0.0 milestone Jan 11, 2019
@ggalmazor ggalmazor requested a review from dcbriccetti January 11, 2019 09:16
@ggalmazor ggalmazor merged commit 43987fe into getodk:master Jan 14, 2019
@ggalmazor ggalmazor deleted the issue_370_fix_date_format_on_dialogs branch January 14, 2019 09:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants