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 Date validation to work on non-turkish systems. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KbraBass
Copy link

With this change, it will verify that the date is not in the future even on systems that are not configured on the Turkish Timezone.

I was getting many false negatives on documents issued shortly after Turkish midnight on machines configured on CET timezone.

This change will validate the "invoice date" against the Ankara timezone specifically.

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.

1 participant