You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the birth date column in the family tree table sorts alphabetically and not chronologically. For example, August 29, 1959 sorts before August 6, 1892.
According to the datatables documentation, we can enable chronological sorting through a data-order or data-sort attribute in the birth date td element.
We can set the data-order value to the Unix timestamp using dayjs().unix() for easy sorting.
The text was updated successfully, but these errors were encountered:
Currently, the birth date column in the family tree table sorts alphabetically and not chronologically. For example, August 29, 1959 sorts before August 6, 1892.
According to the datatables documentation, we can enable chronological sorting through a
data-order
ordata-sort
attribute in the birth datetd
element.We can set the
data-order
value to the Unix timestamp usingdayjs().unix()
for easy sorting.The text was updated successfully, but these errors were encountered: