Skip to content
Snippets Groups Projects
Commit c830e6e7 authored by Helmo's avatar Helmo
Browse files

codestyle

parent 9f745c2b
No related branches found
No related tags found
2 merge requests!936add CentOS 8 detection,!920Patch misc
...@@ -53,8 +53,8 @@ class validate_autoresponder extends validate_datetime ...@@ -53,8 +53,8 @@ class validate_autoresponder extends validate_datetime
// Parse date // Parse date
$datetimeformat = (isset($app->remoting_lib) ? $app->remoting_lib->datetimeformat : $app->tform->datetimeformat); $datetimeformat = (isset($app->remoting_lib) ? $app->remoting_lib->datetimeformat : $app->tform->datetimeformat);
$start_date_array = date_parse_from_format($datetimeformat,$start_date); $start_date_array = date_parse_from_format($datetimeformat, $start_date);
$end_date_array = date_parse_from_format($datetimeformat,$field_value); $end_date_array = date_parse_from_format($datetimeformat, $field_value);
//calculate timestamps //calculate timestamps
$start_date_tstamp = mktime($start_date_array['hour'], $start_date_array['minute'], $start_date_array['second'], $start_date_array['month'], $start_date_array['day'], $start_date_array['year']); $start_date_tstamp = mktime($start_date_array['hour'], $start_date_array['minute'], $start_date_array['second'], $start_date_array['month'], $start_date_array['day'], $start_date_array['year']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment