Skip to content
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

fix: fix zip file timestamp #1375

Merged
merged 1 commit into from
May 4, 2023
Merged

fix: fix zip file timestamp #1375

merged 1 commit into from
May 4, 2023

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented May 4, 2023

Description

This PR fixes the timestamp format used for zip downloads. Previously, the date components were not padded with zeroes and the month was off by 1 because Date.getMonth() reports months from 0 to 11. This PR aligns the used timestamp format with the one used by Moonraker, making it more readable and also fixing the sorting.

Example for a previous timestamp: config-202344-17137.zip
After change: config-20230504-170137.zip

Related Tickets & Documents

None

Mobile & Desktop Screenshots/Recordings

@meteyou meteyou merged commit f701dfb into mainsail-crew:develop May 4, 2023
@meteyou
Copy link
Member

meteyou commented May 4, 2023

thx for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants