Overview
Comment: | Fix defaut date for last month of year |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
699391aea314f30cb0a1ef4fb7e0d01f |
User & Date: | bohwaz on 2020-12-31 00:04:32 |
Other Links: | manifest | tags |
Context
2020-12-31
| ||
00:06 | Better way to limit start and end date check-in: b5d7b3fb86 user: bohwaz tags: trunk, stable | |
00:04 | Fix defaut date for last month of year check-in: 699391aea3 user: bohwaz tags: trunk, stable | |
2020-12-29
| ||
23:25 | OK it's time for 1.0 check-in: ce92774208 user: bohwaz tags: trunk, stable, 1.0.0 | |
Changes
Modified src/www/admin/acc/accounts/reconcile.php from [23e1bbad96] to [60dda604e1].
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | if (!$account) { throw new UserException("Le compte demandé n'existe pas."); } $start = new \DateTime('first day of this month'); $end = new \DateTime('last day of this month'); $only = (bool) qg('only'); if (null !== qg('start') && null !== qg('end')) { $start = \DateTime::createFromFormat('!d/m/Y', qg('start')); $end = \DateTime::createFromFormat('!d/m/Y', qg('end')); | > > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | if (!$account) { throw new UserException("Le compte demandé n'existe pas."); } $start = new \DateTime('first day of this month'); $end = new \DateTime('last day of this month'); $start->setTime(0, 0, 0); $end->setTime(0, 0, 0); $only = (bool) qg('only'); if (null !== qg('start') && null !== qg('end')) { $start = \DateTime::createFromFormat('!d/m/Y', qg('start')); $end = \DateTime::createFromFormat('!d/m/Y', qg('end')); |
︙ | ︙ |