Skip to content

Time zone of logs timestamp is not specified #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
per1234 opened this issue Apr 11, 2025 · 0 comments
Open
2 tasks done

Time zone of logs timestamp is not specified #319

per1234 opened this issue Apr 11, 2025 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Apr 11, 2025

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
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant