Overview
Comment: | Fix creation of datetime to not use the hour and minutes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
5a2003eab16dd5a213844ac4dbe8756f |
User & Date: | bohwaz on 2020-11-19 11:30:04 |
Other Links: | branch diff | manifest | tags |
Context
2020-11-19
| ||
11:33 | Fix reconcile when no checkbox is checked check-in: fdeab05a06 user: bohwaz tags: dev | |
11:30 | Fix creation of datetime to not use the hour and minutes check-in: 5a2003eab1 user: bohwaz tags: dev | |
11:29 | Fix link in button check-in: 04735b5bca user: bohwaz tags: dev | |
Changes
Modified src/www/admin/acc/accounts/reconcile.php from [abb3dde111] to [68afbd2053].
︙ | ︙ | |||
19 20 21 22 23 24 25 | } $start = null; $end = null; if (null !== qg('start') && null !== qg('end')) { | | | | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | } $start = null; $end = null; if (null !== qg('start') && null !== qg('end')) { $start = \DateTime::createFromFormat('!d/m/Y', qg('start')); $end = \DateTime::createFromFormat('!d/m/Y', qg('end')); if (!$start || !$end) { $start = \DateTime::createFromFormat('!Y-m-d', qg('start')); $end = \DateTime::createFromFormat('!Y-m-d', qg('end')); } if (!$start || !$end) { $form->addError('La date donnée est invalide.'); } } |
︙ | ︙ |