dart_firebase_admin icon indicating copy to clipboard operation
dart_firebase_admin copied to clipboard

feat: Update Timestamp Constructor with nanoseconds

Open KKimj opened this issue 1 year ago • 1 comments
trafficstars

Hello!

This update enables preservation of nanoseconds below 1000, addressing the issue where fractions of milliseconds were being discarded. image

Thanks!

KKimj avatar Mar 08 '24 09:03 KKimj

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 08 '24 09:03 CLAassistant

@rrousselGit

Hello! : ) I've added some docstrings and test code for Timestamp. Please let me know if you have any feedback. Thank you!

KKimj avatar Jul 13 '24 06:07 KKimj

Ah, and I followed the docstring of the code below! :)

https://github.com/firebase/flutterfire/blob/master/packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/timestamp.dart#L17C1-L24C51

KKimj avatar Jul 13 '24 06:07 KKimj

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered :open_umbrella:

codecov[bot] avatar Jul 19 '24 13:07 codecov[bot]