mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 22:30:34 +01:00
I try to sort datetime by descending order #340
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oddukgi on GitHub (Aug 25, 2020).
I make variable
DateTime is string type.
I create datetime like "yyyy.MM.dd h:mm:ss a"
I want to show recent data is first.
When time changed 11pm, ordering didn't change.
@JohnEstropia commented on GitHub (Aug 25, 2020):
I’m not sure if understand your issue, but
fetchAll()returns an array, and the ordering would be fixed during fetch time.If you want a list that changes ordering dynamically, use
ListPublishers orListMonitors@oddukgi commented on GitHub (Aug 25, 2020):
Ok. I will check ordering works fine at night time.
If didn't work, follow your advice. 🦊