We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parseEntryTime
rar.js/src/rar.ts
Line 123 in 0d180e0
private parseEntryTime(time: string) { if (time.length < 32) { time = (new Array(32 - time.length + 1)).join('0') + time; } const matches = time.match(/(\d{7})(\d{4})(\d{5})(\d{5})(\d{6})(\d{5})/); if (!matches) { return new Date(); } const vals = matches.slice(1).map((val) => { return parseInt(val, 2); }); return new Date(1980 + vals[0], vals[1] - 1, vals[2], vals[3], vals[4], vals[5] * 2); }
https://learn.microsoft.com/en-us/windows/win32/api/oleauto/nf-oleauto-dosdatetimetovarianttime
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rar.js/src/rar.ts
Line 123 in 0d180e0
https://learn.microsoft.com/en-us/windows/win32/api/oleauto/nf-oleauto-dosdatetimetovarianttime
The text was updated successfully, but these errors were encountered: