An open API service indexing awesome lists of open source software.

https://github.com/timoanttila/javascript-date-modifier

JavaScript and Svelte components that convert the date to the desired format.
https://github.com/timoanttila/javascript-date-modifier

component date dates datetime javascript javascript-library svelte svelte-example sveltejs

Last synced: 26 days ago
JSON representation

JavaScript and Svelte components that convert the date to the desired format.

Awesome Lists containing this project

README

          

# Svelte Date modifier

I hate using extra third-party libraries, so I developed a component for Svelte that can change the format of time as desired.

The component changes the date to `21.06.2021 15:48`.
If `i` is not empty, an abbreviation of the day appears before the date (example `sun`).

If you have any tips on how I could get the extra at "klo" off without replaceAll, post a message.