Skip to content

Recording's file names have UTC date/time, not local #144

@fish2eggs

Description

@fish2eggs

On a raspberry pi 3b+ with

$ uname -a
Linux rower 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
$ sudo ./updateopenrowingmonitor.sh 
Update script for Open Rowing Monitor

Checking for new version...
You are using the latest version of Open Rowing Monitor from branch "v1beta".

The filenames created for the *_rowingData.csv, *_raw.csv and *_rowing.tcx files have the UTC date/time in them rather than the local time.

After 10 strokes:

$ ls -l /opt/openrowingmonitor/data/recordings/2023/05/
total 12
-rw-r--r-- 1 root root 3846 May 17 12:46 2023-05-17_02-46-21_rowingData.csv
-rw-r--r-- 1 root root 5555 May 17 12:46 2023-05-17_02-46-21_rowing.tcx
$ date 
Wed 17 May 2023 12:47:00 AEST

I'm in Australia/Sydney time zone which is 10 hours ahead of UTC.

$ cat /etc/timezone 
Australia/Sydney

Assumption mode ON: I assume ORM isn't picking up the timezone, but I don't know how to fix this. The system timezone is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions