Skip to content

Fix date to allow commits to vault after 2020 to be transferred#24

Open
davidasconsulting wants to merge 1 commit into
AndreyNikiforov:masterfrom
davidasconsulting:master
Open

Fix date to allow commits to vault after 2020 to be transferred#24
davidasconsulting wants to merge 1 commit into
AndreyNikiforov:masterfrom
davidasconsulting:master

Conversation

@davidasconsulting

Copy link
Copy Markdown

The existing code stops at Jan 1, 2020. This change will keep this project running until 2120.

It would be better to make the date dependent on current date, but it is a riskier change and not worth it in my opinion.

Comment thread Vault2GitLib/Processor.cs
1,
VaultDateTime.Parse("2000-01-01"),
VaultDateTime.Parse("2020-01-01"),
VaultDateTime.Parse("2120-01-01"),

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What versions of Vault did you check this parsing with? Just confirming there is no max supported date in vault dlls themselves.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid extensive manual testing on all versions of Vault, please use currentDate + 2 for the second argument.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will work on this in a few days.

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