Skip to content

Time zone of logs timestamp is not specified #319

Open
@per1234

Description

@per1234

Describe the problem

The sync command generates a log file for each library. These are published in order to allow library maintainers to monitor and troubleshoot the indexing of their library's releases.

🐛 The time zone is not specified for the timestamps in the logs. This makes it impossible for the reader to conclusively know the time of the log entry.

To reproduce

Check the logs for any library. For example:

http://downloads.arduino.cc/libraries/logs/github.com/arduino-libraries/Servo/

2025/04/11 00:00:18 Scraping https://github.com/arduino-libraries/Servo.git
2025/04/11 00:00:18 Checking out tag: 1.0.0
2025/04/11 00:00:18 Release Servo:1.0.0 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.0.1
2025/04/11 00:00:18 Release Servo:1.0.1 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.0.2
2025/04/11 00:00:18 Release Servo:1.0.2 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.0.3
2025/04/11 00:00:18 Release Servo:1.0.3 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.0
2025/04/11 00:00:18 Release Servo:1.1.0 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.1
2025/04/11 00:00:18 Release Servo:1.1.1 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.2
2025/04/11 00:00:18 Release Servo:1.1.2 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.3
2025/04/11 00:00:18 Release Servo:1.1.3 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.4
2025/04/11 00:00:18 Release Servo:1.1.4 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.5
2025/04/11 00:00:18 Release Servo:1.1.5 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.6
2025/04/11 00:00:18 Release Servo:1.1.6 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.7
2025/04/11 00:00:18 Release Servo:1.1.7 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.1.8
2025/04/11 00:00:18 Release Servo:1.1.8 already loaded, skipping
2025/04/11 00:00:18 Checking out tag: 1.2.0
2025/04/11 00:00:18 Release Servo:1.2.0 already loaded, skipping
2025/04/11 00:00:18 Arduino Lint has suggestions for possible improvements:
Click to expand Arduino Lint report

2025/04/11 00:00:18 Checking out tag: 1.2.1
2025/04/11 00:00:18 Release Servo:1.2.1 already loaded, skipping
2025/04/11 00:00:18 Arduino Lint has suggestions for possible improvements:
Click to expand Arduino Lint report

2025/04/11 00:00:18 Checking out tag: 1.2.2
2025/04/11 00:00:18 Release Servo:1.2.2 already loaded, skipping
2025/04/11 00:00:18 Arduino Lint has suggestions for possible improvements:
Click to expand Arduino Lint report

🐛 There is an ambiguity on the order of 24 hours in the timestamp due to the lack of information about the time zone.

Expected behavior

The time zone of the timestamps is defined in the logs.

The timestamps use the standardized UTC/Zulu time zone.

libraries-repository-engine version

19f9d91

Issue checklist

  • I searched for previous reports in the issue tracker
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions