https://github.com/tarlepp/rcapile
https://github.com/tarlepp/rcapile
community-help datetime serializer symfony
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tarlepp/rcapile
- Owner: tarlepp
- License: mit
- Created: 2020-11-14T18:54:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T20:13:23.000Z (over 3 years ago)
- Last Synced: 2024-04-09T21:52:33.282Z (almost 2 years ago)
- Topics: community-help, datetime, serializer, symfony
- Language: PHP
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is this?
Just a quick demo how to use change datetime objects output on json responses.
## Question
Someone asked help on #general channel of Symfony Slack workspace
https://symfony-devs.slack.com/archives/C3EQ7S3MJ/p1605377479004100
and after that there was this thread about that actual question
https://symfony-devs.slack.com/archives/C3EQ7S3MJ/p1605377639004800
So this repository contains simple example about that.
## Usage
Just clone this repository, run composer install and start the application with
`symfony serve` command.
After that just open your browser `http://localhost:8000` and you should see `Test`
entity serialized to desired format.
## Authors
* [Tarmo Leppänen](https://github.com/tarlepp)
## License
[The MIT License (MIT)](LICENSE)
Copyright © 2020 Tarmo Leppänen