Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API:評論時間改成unix timestamp #69

Open
anntsai2356 opened this issue Aug 22, 2019 · 1 comment
Open

API:評論時間改成unix timestamp #69

anntsai2356 opened this issue Aug 22, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@anntsai2356
Copy link
Contributor

使用者的評論時間改成 unix timestamp 且只顯示 2019/01/01

@anntsai2356 anntsai2356 added this to the sprint 6 milestone Aug 22, 2019
@anntsai2356 anntsai2356 self-assigned this Sep 11, 2019
@lukechu1997
Copy link
Contributor

lukechu1997 commented Sep 11, 2019

make a migration file for data type changes timestamp -> int(?
set input time as Unix time in the models
https://stackoverflow.com/questions/35915576/laravel-timestamp-saving-time-as-unix-timestamp

@anntsai2356 anntsai2356 modified the milestones: sprint 6, spring 7 Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants