Skip to content

Commit 4423b5a

Browse files
committed
changelog: Add entry for ID3v2 timestamps
1 parent 0f8ce7a commit 4423b5a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99
### Added
10-
- **Tag**: Support `ItemKey::ParentalAdvisory` for `Ilst` and `Id3v2Tag` ([issue](https://github.com/Serial-ATA/lofty-rs/issues/99)) ([PR](https://github.com/Serial-ATA/lofty-rs/pull/388))
11-
- This will allow for generic edits to the iTunes-style parental advisory tag. Note that this will use the
12-
numeric representation. For more information, see: https://docs.mp3tag.de/mapping/#itunesadvisory.
10+
- **Tag**:
11+
- Support `ItemKey::ParentalAdvisory` for `Ilst` and `Id3v2Tag` ([issue](https://github.com/Serial-ATA/lofty-rs/issues/99)) ([PR](https://github.com/Serial-ATA/lofty-rs/pull/388))
12+
- This will allow for generic edits to the iTunes-style parental advisory tag. Note that this will use the
13+
numeric representation. For more information, see: https://docs.mp3tag.de/mapping/#itunesadvisory.
14+
- New `tag::items` module for generic representations of complex tag items
15+
- New **Timestamp** item for ISO 8601 timestamps ([PR](https://github.com/Serial-ATA/lofty-rs/pull/389))
16+
- **ID3v2**: Special handling for frames with timestamps with `FrameValue::Timestamp` ([PR](https://github.com/Serial-ATA/lofty-rs/pull/389))
1317

1418
### Changed
1519
- **VorbisComments**/**ApeTag**: Verify contents of `ItemKey::FlagCompilation` during `Tag` merge ([PR](https://github.com/Serial-ATA/lofty-rs/pull/387))

lofty/src/id3/v2/tag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use crate::id3::v2::util::pairs::{
1919
use crate::id3::v2::{KeyValueFrame, TimestampFrame};
2020
use crate::mp4::AdvisoryRating;
2121
use crate::picture::{Picture, PictureType, TOMBSTONE_PICTURE};
22+
use crate::tag::items::Timestamp;
2223
use crate::tag::{
2324
try_parse_year, Accessor, ItemKey, ItemValue, MergeTag, SplitTag, Tag, TagExt, TagItem, TagType,
2425
};
@@ -31,7 +32,6 @@ use std::io::{Cursor, Write};
3132
use std::ops::Deref;
3233
use std::str::FromStr;
3334

34-
use crate::tag::items::Timestamp;
3535
use lofty_attr::tag;
3636

3737
const USER_DEFINED_TEXT_FRAME_ID: &str = "TXXX";

lofty/src/tag/items/timestamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use crate::config::ParsingMode;
22
use crate::error::{ErrorKind, LoftyError, Result};
3+
use crate::macros::err;
34

45
use std::fmt::Display;
56
use std::io::Read;
67
use std::str::FromStr;
78

8-
use crate::macros::err;
99
use byteorder::ReadBytesExt;
1010

1111
/// A subset of the ISO 8601 timestamp format

0 commit comments

Comments
 (0)