diff --git a/README.md b/README.md index e3c8195..f5cfa3c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,29 @@ -# time +# TanStack Time + +![TanStack Time Header](media/repo-header.png) + 🤖⏰ Headless utilities for building time and calendar components in TS/JS, React, Solid, Vue, Svelte and Angular + + + #TanStack + + + + + + + + semantic-release + + Join the discussion on Github +Best of JS + + + + + + + +Enjoy this library? Try the entire [TanStack](https://tanstack.com)! + +## Visit [tanstack.com/time](https://tanstack.com/time) for docs, guides, API and more! diff --git a/media/repo-header.png b/media/repo-header.png index e86dec4..0c89fd5 100644 Binary files a/media/repo-header.png and b/media/repo-header.png differ diff --git a/packages/time/src/tests/isValidDate.test.ts b/packages/time/src/tests/isValidDate.test.ts index 57a3556..01afdc6 100644 --- a/packages/time/src/tests/isValidDate.test.ts +++ b/packages/time/src/tests/isValidDate.test.ts @@ -4,7 +4,7 @@ import {isValidDate} from '../utils/isValidDate'; describe('isValidDate', () => { test('should return true for a valid date', () => { expect(isValidDate(new Date())).toBe(true); - }); + }) test('should return false for an invalid date', () => { expect(isValidDate(new Date("invalid"))).toBe(false); @@ -13,4 +13,4 @@ describe('isValidDate', () => { test("should return false for null", () => { expect(isValidDate(null)).toBe(false); }); -}); \ No newline at end of file +});