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

feat: remove idevicedate #1042

Merged
merged 1 commit into from
Aug 19, 2019
Merged

feat: remove idevicedate #1042

merged 1 commit into from
Aug 19, 2019

Conversation

umutuzgur
Copy link
Member

No description provided.

@umutuzgur umutuzgur merged commit b7e967b into master Aug 19, 2019
@umutuzgur umutuzgur deleted the remove_idevicetime branch August 19, 2019 11:33
log.info('Attempting to capture iOS device date and time');
if (this.isRealDevice()) {
const { timestamp, utcOffset } = await utilities.getDeviceTime(this.opts.udid);
return moment.unix(timestamp).utcOffset(utcOffset).format(format);
Copy link
Contributor

Choose a reason for hiding this comment

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

should we convert utcOffset to minutes here or it is already converted inside ios-device?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is already converted in appium-ios-device

@@ -59,7 +59,8 @@
"uuid-js": "^0.7.5",
"ws": "^7.0.0",
"xmldom": "^0.1.27",
"yargs": "^13.1.0"
"yargs": "^13.1.0",
"moment": "^2.24.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

please sort alphabetically

khanayan123 pushed a commit to khanayan123/appium-xcuitest-driver that referenced this pull request May 10, 2021
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.

None yet

2 participants