shellhub-io/shellhub

What timezone is used by the return from the API

Seluj78 opened this issue · 2 comments

Description

Question is the title :) See Seluj78/shellhub-python#10 (comment) for details of why I'm asking this :)

Edition

Community

Version

0.14.1

Hi, @Seluj78.

We utilize a package called clock, which abstracts the logic related to time. This package includes a Now method that utilizes the local timezone of the host machine. However, since ShellHub runs inside a Docker container and the default timezone is UTC-0, I am quite certain that your instance is using this timezone.

Great, thank you for the quick answer, I'll make sure to explain that in the PR :)