Skip to content
This repository has been archived by the owner on Mar 1, 2025. It is now read-only.

fixed completion date error msg for falsy start date #565

Merged

Conversation

shubhamjaintech
Copy link
Contributor

@shubhamjaintech shubhamjaintech commented Oct 22, 2023

Fixes #562

What is the change?

Design Doc: https://docs.google.com/document/d/1JvBDR9Kfo0pzfl-fM7tLZO7WmmRAWbCVFNDgHqnos1k/edit?usp=sharing

If "startedOn" key is falsy i.e undefined/null/0 then completion date should show as 'N/A', so updated timeWas fn to handle this case.

Is it bug?

Yes

*Dev Tested?

  • Yes
  • No

*Tested on:

Platforms

  • Web

Browsers

  • Chrome
  • Safari
  • Firefox

Before / After Change Screenshots

  • Before
    image

  • After
    image

Test results:

image

@vercel
Copy link

vercel bot commented Oct 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
members-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2023 3:58am
website-members ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2023 3:58am

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid Time shown in Contribution Card
3 participants