Skip to content

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

Open
julionav wants to merge 2 commits intoathensresearch:mainfrom
julionav:fix/1263
Open

fix(roam-import): single digit roam dates are padded with a left zero.#1268
julionav wants to merge 2 commits intoathensresearch:mainfrom
julionav:fix/1263

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.

@jefftangx
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