Skip to content

refactor(DAO-2005): migrate my-rewards date formatters to shared utilities [4/5] - #2103

Open
Freshenext wants to merge 1 commit into
DAO-2005-3-btc-vault-importsfrom
DAO-2005-4-my-rewards
Open

refactor(DAO-2005): migrate my-rewards date formatters to shared utilities [4/5]#2103
Freshenext wants to merge 1 commit into
DAO-2005-3-btc-vault-importsfrom
DAO-2005-4-my-rewards

Conversation

@Freshenext

Copy link
Copy Markdown
Collaborator

Summary

  • Remove formatExpandedDate, formatDateRange, and formatDateForCsv from tx-history utils
  • Update DesktopDataRow, CsvButton, backer and builder convertDataToRowData to import from @/lib/utils
  • formatDateRange callers now pass cycleDuration.as('seconds') instead of a Duration object

Stack: #2100#2101#2102[4/5]#5

…ities

Remove formatExpandedDate, formatDateRange, and formatDateForCsv from
tx-history/utils. Consumers now import from @/lib/utils; formatDateRange
callers pass cycleDuration.as('seconds') instead of a Duration object.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 6f48503.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant