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

Setting the time zone to adjust GPS date time #6048

Closed
Pairan opened this issue Aug 14, 2020 · 5 comments · Fixed by iNavFlight/inav-configurator#1105
Closed

Setting the time zone to adjust GPS date time #6048

Pairan opened this issue Aug 14, 2020 · 5 comments · Fixed by iNavFlight/inav-configurator#1105

Comments

@Pairan
Copy link

Pairan commented Aug 14, 2020

Current Behavior

Currently the date and time information are delivered by the GPS and handed over "as-is" to telemetry. The OSD shows the time from GPS. This may differ from the time zones the pilot my be in.

As I don't know if this is already possible (used goggle but didn't find something) I decided to place this feature request.

Desired Behavior

By adjusting this information the correct time could be displayed in the OSD

Suggested Solution

It would be a nice features to be able to adjust the date time values from the GPS according to the time zone - perhaps the GPS is already delivering these data (e.g. like central Europe would be +2h). Otherwise a CLI setting or configurater field could do the job

Who does this impact? Who is this for?

Pilots who want to see the correct(ed) GPS time in their OSD

Additional context

This is suggest to be a FEATURE

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label Feature request to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@OptimusTi
Copy link
Contributor

OptimusTi commented Aug 14, 2020

Look up tz_offset and tz_automatic_dst.

tz_offset = Time zone offset from UTC, in minutes. This is applied to the GPS time for logging and time-stamping of Blackbox logs. (Default = 0)

tz_automatic_dst = Automatically add Daylight Saving Time to the GPS time when needed or simply ignore it. Includes presets for EU and the USA - if you live outside these areas it is suggested to manage DST manually via tz_offset. (Default = Off)

If you ask me, this should be a inav-configurator request. :) Perhaps adding "UTC Offset" [-12..12] to the GPS area in the Configuration tab?

@Pairan
Copy link
Author

Pairan commented Aug 17, 2020

I didnt know of tz_offset and tz_automatic_dst - thanks a lot!

so for me it's

set tz_offset = 120 (edited from 2)
set tz_automatic_dst = ON

And yes- a widget inside the configurator tab "CONFIG" would be nice ...

@OptimusTi
Copy link
Contributor

OptimusTi commented Aug 17, 2020

I didnt know of tz_offset and tz_automatic_dst - thanks a lot!

so for me it's

set tz_offset = 2
set tz_automatic_dst = ON

And yes- a widget inside the configurator tab "CONFIG" would be nice ...

Make sure you read the documentation. tz_offset is in minutes!!

@Pairan
Copy link
Author

Pairan commented Aug 18, 2020

thanks for the heads up - i missed that. then it must be 120 (2h)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants