Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Storing utc datetime values for auto_now_add #39

Open
kishorpawar opened this issue Sep 28, 2016 · 2 comments
Open

Storing utc datetime values for auto_now_add #39

kishorpawar opened this issue Sep 28, 2016 · 2 comments

Comments

@kishorpawar
Copy link

I went through your code, and found that when auto_now_add is set to True you store datetime.now() .
This shall fail in timezone oriented app. Though mostly applications are hosted on cloud servers and they are configured for utc timezone. This library won't fail when server is in utc timezone. This library will definitely fail in development environment if development machine is not set to use utc timezone.

Though your code can store timezone aware datetimes, but auto_now_add will be useless in timezone oriented app.

Hope you would fix this.

Thanks for brilliant hard work.

@iamteem
Copy link
Owner

iamteem commented Sep 28, 2016

Hi@kishorpawar! I haven't really maintained this project for long time now. You can check https://github.com/kiddouk/redisco :)

@kishorpawar
Copy link
Author

Oh... Okay.

I shall just copy this issue there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants