Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take ledger-default-date-format in to account for sorting #343

Open
MikiDi opened this issue Oct 1, 2022 · 0 comments
Open

Take ledger-default-date-format in to account for sorting #343

MikiDi opened this issue Oct 1, 2022 · 0 comments

Comments

@MikiDi
Copy link

MikiDi commented Oct 1, 2022

SPC m C (ledger-mode-clean-buffer) doesn't sort as expected in case of a non-alphabetically sorting date format.
Configuring my default date format doesn't change anything to this.

(defun dotspacemacs/user-config ()
  "Configuration for user code:
This function is called at the very end of Spacemacs startup, after layer
configuration.
Put your configuration code here, except for variables that should be set
before packages are loaded."
  (setq ledger-default-date-format "%d/%m/%Y")
  (setq ledger-init-file-name "/home/michael/.ledgerrc")
)

This might be due to ledger/ledger#1068 , but then the wording sort chronologically in ledger-mode sources is at least a little misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant