← All changes
|
includes/integration/openai/admin/data_post_converter.php
+2
-2
8.6.0
→
8.8.0
View file →
| @@ -71,10 +71,10 @@ | ||
| 71 | 71 | ?> |
| 72 | 72 | <tr> |
| 73 | 73 | <td><?php echo esc_html($qcld_openai_file->post_title);?></td> |
| 74 | 74 | <td><?php echo esc_html($type);?></td> |
| 75 | - <td><?php echo esc_html( date('d.m.Y H:i',strtotime($qcld_openai_file->post_date)) );?></td> | |
| 76 | - <td><?php echo esc_html( date('d.m.Y H:i',strtotime($qcld_openai_file->post_modified)) );?></td> | |
| 75 | + <td><?php echo esc_html( gmdate( 'd.m.Y H:i', strtotime( $qcld_openai_file->post_date ) ) );?></td> | |
| 76 | + <td><?php echo esc_html( gmdate( 'd.m.Y H:i', strtotime( $qcld_openai_file->post_modified ) ) );?></td> | |
| 77 | 77 | <td><?php echo esc_html( size_format(filesize($file)) );?></td> |
| 78 | 78 | <td> |
| 79 | 79 | <a class="button button-small" href="<?php echo esc_url( wp_upload_dir()['baseurl'].'/qcldopenai_site_training/'.esc_html($qcld_openai_file->post_title) )?>" download><?php esc_html_e( 'Download', 'chatbot' ); ?></a> |
| 80 | 80 | <a class="button button-small qcld_delete_training_file" data-file="<?php echo esc_url( wp_upload_dir()['basedir'].'/qcldopenai_site_training/'.esc_html($qcld_openai_file->post_title) )?>" ><?php esc_html_e('Delete', 'chatbot'); ?></a> |