Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer your support query with their limited time and energy.
For support, please follow the "Getting Help" page: https://docs.djangoproject.com/en/stable/faq/help/ . This will help you find people who are willing to support you, and to ask your question in a way that makes it easy for them to answer. Thanks for your understanding and all the best, Adam On Fri, Sep 9, 2022 at 2:48 PM Bhuvnesh Sharma <bhuvnesh...@gmail.com> wrote: > Hi, > if you are using templates then you can simply write: > > <span class="thread__date">{{message.created|timesince}} ago</span> > > where created is a field of message storing the date and time when the > message was created. > > created = models.DateTimeField(auto_now_add=True) > > > On Friday, September 9, 2022 at 7:11:00 PM UTC+5:30 pmicha...@gmail.com > wrote: > >> Hello. I was developing an instagram clone website but got a problem when >> I wanted to add timing to the post, timing like "2 minutes ago", "just now" >> etc. I searched through the internet I couldn't get the right solution (I >> don't know if there is solution for it yet). Then I decided to go on a >> journey of solving the problem myself, which I did and I will like to share >> the codes with the community for review and improvements (if any). I have >> no idea where to do that, I will love to get a reply soon because I cannot >> wait to contribute to django. I am also ready to give full detail of the >> code and how to use. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/664a2283-be6d-49db-9316-7940b013297fn%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/664a2283-be6d-49db-9316-7940b013297fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM0Gp5QTVrf%2BNySqi7aPDsZ-%3DK9cBNKScMWrYWxFvWe0rQ%40mail.gmail.com.