-
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '1397-06-23 11:45:30' for column 'updated_at' at row 1 (SQL: update `products` set `updated_at` = 1397-06-23 11:45:30 where `id…
-
ErrorException in jDateTime.php line 735: Undefined index: year
echo jDateTime::createDateTimeFromFormat('Y/m/d h:i:s', "1395/4/15 00:00:00"); //error
echo jDateTime::createDateTimeFromFormat('Y/m/d …
-
Please provide your configurations and softwares version
* Python version:3.5.2
* Django version: 2.0.4
* django_jalali version:3.0.2
* OS: linux
when show time in template like {{ value.time…
-
this package convert 1397/02/30 to 2018-05-20 that it's correct but convert 2018-05-20 to 1397/03/02 that means wrong.
See my functions that do this:
```
function hijri2miladi($hijriDate) {
$p…
-
See the title.
-
سلام
وقت بخیر
من می خواستم بدونم آیا متودی برای تشخیص سال کبیسه وجود دارد؟
-
Hi
I have this :
```
locale.setlocale(locale.LC_ALL, 'en_US')
jdt = jdatetime.date.fromgregorian(
day=int(d[2]),
month=strptime(d[1], '%b').tm_mon,
year=int(d[5])
)
print(jdt)
…
-
from khayyam import JalaliDatetime as jDatetime;
herBirthday = jDatetime(1396, 10, 24, 23, 59, 55);
now = jDatetime.now();
delta = herBrthday - now;
how I can have delta.total_seconds?
sae13 updated
6 years ago
-
django 1.10 and python 2.7
If I define my model field like this:
```python
class Book(models.Model):
objects = jmodels.jManager()
jdate = jmodels.jDateTimeField(auto_now_add=…
-
Hi,
Why I try to set django's default timezone to non UTC timezones, ex. Asia/Tehran, I get an error in django admin changeform,
**Assume this model :**
```
from django.db import models
from dj…