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

fix(roam-import): single digit roam dates are padded with a left zero. #1268

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

julionav
Copy link
Contributor

@julionav julionav commented Jun 2, 2021

Solves: #1263

The issue was caused by athens.patterns/replace-roam-date only replacing the "cardinal" part of the date (th, st, etc); but not adding the 0 padding at the start of the number.

@agentydragon
Copy link
Contributor

Please fix style (run script/style). Also consider adding a test.

@tangjeff0
Copy link
Collaborator

Yeah tests would be nice here (even though there aren't any for this yet).

between roam-dates and athens-dates
@julionav
Copy link
Contributor Author

julionav commented Jul 7, 2021

Added tests here, but when running script/style it says that there are 3 files incorrectly formatted, but it doesn't format them.

Getting this at the end:

Error encountered performing task 'run' with profile(s): 'base,system,user,provided,dev,cljstyle'
Suppressed exit

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

Successfully merging this pull request may close these issues.

3 participants