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

refactor: move date functions to DateTools.ts #2704

Merged

Conversation

ilandikov
Copy link
Collaborator

Description

Pairing session with @claremacrae

Move several pure functions from Svelte code to DateTools.ts

Motivation and Context

Prepare for future refactoring of Edit Task modal.

How has this been tested?

Unit test + smoke test (open the modal and verify it), breaking code

Types of changes

  • Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)

Checklist

  • My code follows the code style of this project and passes yarn run lint.
  • My change has adequate Unit Test coverage.

Terms

@claremacrae claremacrae added the type: internal Only regards development or contributing label Mar 13, 2024
@claremacrae claremacrae merged commit e31a2fe into obsidian-tasks-group:main Mar 13, 2024
1 check passed
@claremacrae
Copy link
Collaborator

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: internal Only regards development or contributing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants