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

Default value for Chat.timestamp is always the same #44

Closed
markgeraty opened this issue Jul 24, 2015 · 0 comments
Closed

Default value for Chat.timestamp is always the same #44

markgeraty opened this issue Jul 24, 2015 · 0 comments
Assignees
Labels

Comments

@markgeraty
Copy link
Member

The default value of the Chat model's timestamp field should use a function that returns the current date ... right now, that date just gets instantiated when the model is created, and then always uses whatever time that occurred as the default.

@markgeraty markgeraty added the bug label Jul 24, 2015
@swong225 swong225 self-assigned this Jul 24, 2015
markgeraty added a commit that referenced this issue Jul 27, 2015
Fixing #44 - Chat timestamps always defaulted to the same value.  This also fixes the issue of chats being displayed out of order.
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