i want to do something like
datetime.date.fromordinal(int(date_applied))
to convert date from julian to gregorian date, just wondering it this can
be done in template?
On Wed, Apr 25, 2018 at 1:56 PM, sum abiut wrote:
> Current i have a for loop
>
>
> Date
>
> {% for a in results %}
>
> {{a
Current i have a for loop
Date
{% for a in results %}
{{a.date_applied}}
{%endfor%)
currently the date is in julian date. i wan to convert the date to
gregorian date. Is there a way to do that in the template.
On Wed, Apr 25, 2018 at 1:50 PM, sum abiut wrote:
> I have a function that quer
I have a function that query the db and extract and display data on a
template
def bydate_display(request):
if "selectdate" in request.POST and "selectdate1" in request.POST and
"selectaccount" in request.POST:
selected_date = request.POST["selectdate"]
selected_date1 = reques
3 matches
Mail list logo