Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Aug 1, 2024
1 parent d550d49 commit 336b0fb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<img alt="little-date banner" src="https://github.com/timolins/little-date/raw/main/.github/banner.png"/>
<img alt="little-date banner" src="https://github.com/vercel/little-date/raw/main/.github/banner.png"/>

<div align="center">
<img src="https://badgen.net/npm/v/little-date?" alt="NPM Version" />
<img src="https://github.com/timolins/little-date/workflows/CI/badge.svg" alt="Build Status" />
<img src="https://github.com/vercel/little-date/workflows/CI/badge.svg" alt="Build Status" />
</a>
</div>
<br />
Expand Down Expand Up @@ -100,6 +100,12 @@ formatDateRange(from, to, {
});
```

## Customization

To keep things simple, there is minimal customization offered by `little-date`.

For more extensive customization beyond the provided options, it's recommended to copy the implementation from [`src/format-date-range.ts`](https://github.com/vercel/little-date/blob/main/src/format-date-range.ts) into your own repository. This allows you to modify the formatting logic to precisely fit your needs.

## Contribute

We welcome contributions! If you'd like to improve `little-date` or have any feedback, feel free to open an issue or submit a pull request.
Expand Down

0 comments on commit 336b0fb

Please sign in to comment.