jilian to Gregorian date conversion error
On 2018-04-24 23:37, sum abiut wrote:
> i get the error message:
> an integer is required
> when i am try to convert from julian date to Gregorian date
> in my view.py, after i have query the db i want to convert the applied date
> from julian date to Gregorian date but i got the above error,
datetime.date.fromordinal expects an integer, but the value of
rate.columns.date_applied is not an integer.
Also, the integer is interpreted as a "proleptic Gregorian ordinal", not
a Julian date.