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

Add an optional format argument to getDeviceTime and update the documentation #939

Merged
merged 3 commits into from
Jun 13, 2018

Conversation

mykola-mokhnach
Copy link
Contributor

Change list

Now it is possible to explicitly set the format specifiers for the returned datetime. Also, the default response format is changed to ISO-8601

Types of changes

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@@ -118,7 +118,7 @@

@Test public void getDeviceTimeTest() {
String time = driver.getDeviceTime();
assertTrue(time.length() == 28);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import statement can also be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which import?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's still used by isAppInstalledTest and lockTest. Codacy usually highlights such cases automatically.

@appium appium deleted a comment Jun 13, 2018
@appium appium deleted a comment Jun 13, 2018
@appium appium deleted a comment Jun 13, 2018
@mykola-mokhnach mykola-mokhnach merged commit 7cbdcd4 into appium:master Jun 13, 2018
@mykola-mokhnach mykola-mokhnach deleted the format branch December 3, 2018 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants