wee_reports timestamp format

87 views
Skip to first unread message

Auchtermuchty Weather

unread,
Jun 26, 2022, 2:56:55 AM6/26/22
to weewx-user
The help is as follows:

$ wee_reports --help
Usage: wee_reports: [config_file] [timestamp] [--config=CONFIG_FILE] [--help]

Run all reports defined in the specified configuration file. Use this utility
to run reports immediately instead of waiting for the end of an archive
interval.

Options:
  -h, --help            show this help message and exit
  --config=CONFIG_FILE  Use the configuration file CONFIG_F
ILE

But I have no idea, and it doesn't give a clue, nor does the documentation, about what format a timestamp should be in.


Tom Keffer

unread,
Jun 26, 2022, 6:40:39 AM6/26/22
to weewx-user
The timestamp should be in unix epoch time. You can use a tool such as epochconvert.com to figure out the timestamp.

You're right: it really should be documented. Issue #776.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b738c268-fee9-4676-84d2-4b4a2efd996en%40googlegroups.com.

Tom Keffer

unread,
Jul 3, 2022, 9:11:03 PM7/3/22
to weewx-user
Fixed in commit b164c74
Reply all
Reply to author
Forward
0 new messages