mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #375] [MERGED] More chrono::Duration usage in the API #423
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#423
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/375
Author: @marioortizmanero
Created: 12/27/2022
Status: ✅ Merged
Merged: 1/3/2023
Merged by: @ramsayleung
Base:
master← Head:more-chrono-duration📝 Commits (5)
c5d5950Use morechrono::Duration9bdd254Fix tests14f4bf9Update PR in changelog97c85adFix examplea77a7bcMove CHANGELOG entry to new version📊 Changes
5 files changed (+42 additions, -28 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
examples/ureq/seek_track.rs(+1 -1)📝
rspotify-model/src/offset.rs(+3 -1)📝
src/clients/oauth.rs(+27 -19)📝
tests/test_with_oauth.rs(+7 -7)📄 Description
Description
This uses more
chrono::Durationin the API, as opposed to the more basici32andu32. It also renames some fields topositionfromposition_msMotivation and Context
I noticed this in #366; using
chrono::Durationis more versatile and idiomatic. Not sure if I missed any cases.Dependencies
Nothing new.
Type of change
Please delete options that are not relevant.
How has this been tested?
CI still passes
Is this change properly documented?
Yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
marketfield to some APIs #452