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 (with London on BST) there would be no way to get those displayed in the order specified. sort: alphabetical and sort: chronological will both put GMT first.
While asc/descending sort might be nice, what I'm actually requesting is sort: as-written, and hoping that that order is preserved by the yaml parser you're using (since it's not an array, I think the spec allows it not to be).
I'd go so far as to say 'as-written' sorting would be the most obvious default, too.
The text was updated successfully, but these errors were encountered:
OJFord
changed the title
Clocks sort in order specified
Clocks: sort in order specified
May 17, 2020
Clocks are listed as a keyed map. In the config file they have an order, but when serialized from JSON, no information about that ordering is preserved (Go maps do not have an order). To achieve this a new config data structure would need to used. If you do decide to tackle this, any changes need to be backwards-compatible.
What should it do?
Currently (with London on BST) there would be no way to get those displayed in the order specified.
sort: alphabetical
andsort: chronological
will both put GMT first.While asc/descending sort might be nice, what I'm actually requesting is
sort: as-written
, and hoping that that order is preserved by the yaml parser you're using (since it's not an array, I think the spec allows it not to be).I'd go so far as to say 'as-written' sorting would be the most obvious default, too.
The text was updated successfully, but these errors were encountered: