]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1721139: apply proper date format in certain places
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 11 Sep 2018 18:58:29 +0000 (14:58 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 5 Oct 2018 21:12:03 +0000 (17:12 -0400)
commit22fcbd3497069230a49d339e720b2c882d6dd585
treea4bf26fab7d6ad97e573e6b426a05396b5f54655
parent3ec4a636f7b155583fbe2aa66c45faa0ae2a665e
LP#1721139: apply proper date format in certain places

This patch ensures that the correct date format is used
to display dates in certain contexts in the web staff
client:

- patron bucket summary
- record bucket summary
- patron bucket 'View batch edits'

This has the side effect of fixing a problem where the batch
edit timestamps were not wrapped correctly in Firefox.

To test
-------
1. Using user buckets, make some batch changes on some patrons and roll
   back some of those changes.
2. Using Firefox, click on the 'View Batch Edits' button.
3. Note that the times dispayed are formatted as raw
   database timestamps
4. Note that the summary for the user bucket displays the
   create time as a raw database timestamp.
5. Navigate to a record bucket and note that its create
   time is displayed as a raw timestamp as well.
3. Apply patch.
4. Repeat steps 2-5; this time, the times should be displayed
   using the correct date and time format.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_info.tt2
Open-ILS/src/templates/staff/circ/patron/bucket/t_bucket_info.tt2
Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2