Skip to content

All commands reset clock to current time #85

Description

@cvuorinen

Trying to take a screenshot at a specific time or doing a tap event at specific time should not reset the clock back to current time, should it?

Reproduction:

pebble build
pebble install --emulator=emery
pebble emu-set-time 07:00:00
pebble emu-tap

Would expect time to still be 07:00 but it's reset to my current local time.
Same thing with screenshot (seems there's a bit of a race condition, and the actual captured image sometimes has the time that was set with emu-set-time and sometimes current time).

Using this version:
Pebble Tool v5.0.40 (active SDK: v4.33.1)

Trying to trace the source of this, seems like it could be this change:
bb1e7a8#diff-848001f3a94e6295c78806874bdf080664df35bf77d00d6bde7843534cc97b35R251

(post_connect always sets current time)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions