jilian to Gregorian date conversion error
python at mrabarnett.plus.com
Tue Apr 24 19:55:39 EDT 2018
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.
More information about the Python-list