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
Supply Date.now() #1551
Comments
@mborst You can use the |
Thanks! But I think using |
The |
It's not about formatting it, I would really change it! Plus, I would also need to pass the timestamp I want to use into format, which would be a far bigger change. |
maybe this has been fixed with #1583 , is it the same problems, am I correct? |
Halfway. I also want to use it for the |
ok! can you provide a PR in the same style as #1583 but for the I will merge it to the master :) |
Ok, so this would be the PR: #1592. If you agree with it in principle, I could provide tests and documentation. |
closing here, discuss in #1592 |
I maintain an app that uses a software supplied timestamp for all timestamp fields in the database, among them the create and update timestamps.
Doing this while still using the
hasTimestamp
magic requires patching this line to useoptions[...]
instead ofnew Date()
.I could provide a PR if that seems like a useful feature to have in bookshelf.
The text was updated successfully, but these errors were encountered: