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

[Extension] Add DateTime extension for checking same date #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

someshubham
Copy link
Contributor

Description

Added an extension of DateTime which has a new function isSameDate for checking whether the two dates are the same or not. The same is not available in the DateTime class therefore created an extension

Commits

  • [Extension] Add DateTime extension for same Date

Tests

  • No Test added

@someshubham someshubham self-assigned this Dec 28, 2020
@apgapg
Copy link
Member

apgapg commented Dec 29, 2020

@someshubham relevant test cases missing. Please add test case in test/extensions/date_time_test.dart respectively

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants