Giter Site home page Giter Site logo

Django Timezone Change about behave-django HOT 3 CLOSED

behave avatar behave commented on August 26, 2024
Django Timezone Change

from behave-django.

Comments (3)

bittner avatar bittner commented on August 26, 2024

I'm not sure whether using timezone.now() is actually a good idea in Django models. See StackOverflow for a discussion.

Please give a concrete example what and how you would want to test your implementation. Give us some sample code (e.g. of how you would want to see things working). Then we can discuss things to find an appropriate solution.

from behave-django.

mixxorz avatar mixxorz commented on August 26, 2024

I actually don't think this belongs in behave-django. You might want to use something like freezegun instead.

from behave-django.

bittner avatar bittner commented on August 26, 2024

Closing this issue as the problem is out of scope of this project. (It's not a problem of integrating behave and Django.)

Feel free to comment again and re-open the issue if you think we're wrong.

from behave-django.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.