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: negative timestamp in note_formatter_util (close #38) #48

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

favoyang
Copy link
Contributor

When the timestamp is negative, set it to zero.

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #48 (c8374f4) into master (e09a805) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #48   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines         1355      1365   +10     
=========================================
+ Hits          1355      1365   +10     
Files Coverage Δ
evernote_backup/note_formatter_util.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vzhd1701
Copy link
Owner

Evernote supports negative timestamps since you can manually set any creation date for your notes
https://dev.evernote.com/doc/reference/Types.html#Typedef_Timestamp

@vzhd1701 vzhd1701 merged commit 244440d into vzhd1701:master Oct 18, 2023
14 checks passed
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