Open yvonneekanim opened 6 years ago
This behavior was added in https://github.com/specify/specify7/commit/9cbddfd866726edc295eb85668e796f7ca4efe90 probably so modifications that occur on a specific date could be easily queried.
This is part of a broader issue of specify 7 not supporting time in any shape or form - there is no way to query on time, or display time on a form
We have started using the labels that can be produced from within Specify for our cryptogam packets at the end of last year. While in test, this worked exceptionally well in Specify 7, but now that it is in production, we encounter some issues, and differences with Specify 6, with how timestamps and dates are handled in the Specify 7 query.
People here like to print packets in the order they have databased the specimens, so that it is easy matching up the specimen with the packet it needs to go in. So, we order the results of the label query by the
TimestampCreated
of the Collection Object. This works fine in Specify 6:but in Specify 7 the time part is stripped off the timestamp, so specimens that have been databased on the same day will come out in pretty much random order:
We generally print batches of 50 to 100 packets, so, if they are not in the right order, it makes for a much more time-consuming job to match up the packets and the specimens.
Reported By: @nielsklazenga on the Speciforum
This is part of a broader issue of specify 7 not supporting time in any shape or form - there is no way to query on time, or display time on a form
https://github.com/specify/specify7/issues/477#issuecomment-1459188835
This behavior (specify not respecting the time information of date fields) would likely be implemented with the fix for #641. The fix for this issue specifically would involve undoing the changes from https://github.com/specify/specify7/commit/9cbddfd866726edc295eb85668e796f7ca4efe90 (see https://github.com/specify/specify7/issues/477#issuecomment-486365137) once #641 is fixed
This issue has been mentioned on Specify Community Forum. There might be relevant details there:
https://discourse.specifysoftware.org/t/issues-with-dates-and-timestamps-in-specify-7-query/1538/2
Can recreate in edge (7.9.6)
When timestamp modified is queried in 7, the query result only displays the date and not the time. It displays both date and time in 6.