Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
<p align="center">
|
|
<img src="https://user-images.githubusercontent.com/41773797/107574578-c4014600-6be6-11eb-8309-acca0acdd6f5.png" alt="Package banner" style="width: 100%; max-width: 800px;" />
|
|
</p>
|
|
|
|
This package allows you to convert token-based date formats between standards.
|
|
|
|
## Installation
|
|
|
|
You can use Composer to install this package into your application:
|
|
|
|
```
|
|
composer require danharrin/date-format-converter
|
|
```
|
|
|
|
## Usage
|
|
|
|
Use the `convert_date_format()` method to initialise a new instance of the converter, ready to use:
|
|
|
|
```php
|
|
convert_date_format('Y-m-d H:i:s')->to('day.js');
|
|
// YYYY-MM-DD HH:mm:ss
|
|
|
|
convert_date_format('Y-m-d H:i:s')->to('moment.js');
|
|
// YYYY-MM-DD HH:mm:ss
|
|
```
|
|
|
|
## Need Help?
|
|
|
|
🐞 If you spot a bug with this package, please [submit a detailed issue](https://github.com/danharrin/date-format-converter/issues/new), and wait for assistance.
|
|
|
|
🤔 If you have a question or feature request, please [start a new discussion](https://github.com/danharrin/date-format-converter/discussions/new).
|
|
|
|
🔐 If you discover a vulnerability within the package, please review our [security policy](https://github.com/danharrin/date-format-converter/blob/main/SECURITY.md).
|