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

Add support for Firebase TimeStamps #8

Closed
lancedw opened this issue Apr 25, 2024 · 0 comments
Closed

Add support for Firebase TimeStamps #8

lancedw opened this issue Apr 25, 2024 · 0 comments

Comments

@lancedw
Copy link

lancedw commented Apr 25, 2024

Issue Description:

Problem
The current version of the npm package lacks support for Firebase Timestamps, making it less versatile for applications integrated with Firebase databases. Firebase Timestamps are often used to represent date and time data due to their compatibility and efficiency.

Proposed Solution
To enhance the utility and compatibility of the package, it's crucial to add support for Firebase Timestamps. This addition would enable developers to seamlessly work with date and time data in Firebase applications without needing to convert between different date formats.

Proposed Implementation
Firebase Timestamp Parsing: Implement a function to parse Firebase Timestamps into native JavaScript Date objects within the package.
Firebase Timestamp Formatting: Add functionality to format JavaScript Date objects into Firebase Timestamps, ensuring bidirectional compatibility.
Unit Testing: Write comprehensive unit tests to verify the accuracy and reliability of Firebase Timestamp handling within the package.
Documentation Update: Update the package documentation to include clear usage examples and guidelines for working with Firebase Timestamps.
Expected Benefits
Improved compatibility with Firebase databases.
Streamlined development process for Firebase-integrated applications.
Reduced complexity by eliminating the need for manual conversion between date formats.
Additional Notes
Maintaining compatibility with Firebase Timestamps aligns with industry best practices and ensures that the package remains relevant and useful for a wide range of developers working with Firebase-based applications.

This issue is crucial for enhancing the functionality and usability of the package, and its implementation would greatly benefit developers utilizing Firebase databases in their projects.

Note: This issue is being created in response to user feedback and the growing demand for Firebase Timestamp support in the package.

@julienvanbeveren julienvanbeveren closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2024
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

2 participants