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
describe("unserializeSpecialTypes", () => { before(() => { admin.initializeApp(); }); it("should convert parsable date string timestamps", () => { const dateStringTypes = { iso8601: { __datatype__: "timestamp", value: "2020-06-01T04:59:03-07:00" } }; const results = unserializeSpecialTypes(dateStringTypes); expect(results.iso8601).to.be.an.instanceof(admin.firestore.Timestamp); }); });
Helpers unserializeSpecialTypes should convert parsable date string timestamps: Error: Value for argument "seconds" is not a valid integer.
Attempt to import a Date.parse()-able timestamp value.
Date.parse()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Expected behavior
Actual behavior
Steps to reproduce the behavior
Attempt to import a
Date.parse()
-able timestamp value.The text was updated successfully, but these errors were encountered: