Problem with local time / remote auto-deployment

Completed

I am coding in PYCHARM on a windows laptop and using remote auto-deployment to a raspberry PI. When debugging In this configuration, the datetime functions are returning the UTC time, not the local time on the RPI. If I run the program on the RPI,the datetime functions return the correct local time. 

How do I get the PYCHARM PC debug sessions to use the RPI's local time?

0
1 comment

Resolved by replacing the /etc/localtime file with the CST6CDT file in /usr/share/zoneinfo/US

 

0

Please sign in to leave a comment.