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

datetime limitation (Y10K) #8

Open
srepmub opened this issue Dec 23, 2016 · 0 comments
Open

datetime limitation (Y10K) #8

srepmub opened this issue Dec 23, 2016 · 0 comments

Comments

@srepmub
Copy link
Contributor

srepmub commented Dec 23, 2016

this may be a bit silly, but for MAPI dates (PTypTime) beyond Y10K, which are 'valid' on the MAPI side, though of course probably not very meaningful, pst.py will now raise a PSTException in the 'get_time' method (year out of range), probably meaning some other steps are skipped when processing the respective message.

in our version, we just skip the intermediate datetime representation (as it's MAPI-to-MAPI), but you might want to silently convert such dates to the year 9999, or something, to avoid skipping steps because of the exception? (there's nothing really wrong on the MAPI side)

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

No branches or pull requests

1 participant