Little bug with Oracle DB

QuestionsLittle bug with Oracle DB
Marmier asked 2 weeks ago

Hello,

At least with Oracle 19c version there is a little bug in both versions 2.6 and 2.8:

At line nr 592 of jqgrid_dist.php you have :

$qwery .= “($field >= ‘{$v[‘start’]} 00:00:00′ AND $field <= ‘{$v[‘end’]} 23:59:59′)”;

causes problem depending on the locale used.

It could be fixed with the following syntax:

$qwery .= “($field >= to_date(‘{$v[‘start’]} 00:00:00′,’yyyy-mm-dd hh24:mi:ss’) AND $field <= to_date(‘{$v[‘end’]} 23:59:59′,’yyyy-mm-dd hh24:mi:ss’))”;

Best Regards,

1 Answers
Abu Ghufran Staff answered 1 week ago

Thanks for reporting.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

1 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?