simple-media-timestamp 0.1.0.0 → 0.2.0.0
raw patch · 4 files changed
+11/−5 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Media.Timestamp: [milliseconds] :: Time -> Int
- Media.Timestamp: [minutes] :: Time -> Int
- Media.Timestamp: [seconds] :: Time -> Int
+ Media.Timestamp: [millisecond] :: Time -> Int
+ Media.Timestamp: [minute] :: Time -> Int
+ Media.Timestamp: [second] :: Time -> Int
Files
- ChangeLog.md +4/−0
- README.md +2/−0
- simple-media-timestamp.cabal +1/−1
- src/Media/Timestamp.hs +4/−4
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for simple-media-timestamp +## v0.2.0.0++* Use non-plural fields.+ ## v0.1.0.0 * Add `Time` and `Range` types.
README.md view
@@ -1,1 +1,3 @@ # simple-media-timestamp++A simple timestamp type.
simple-media-timestamp.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: simple-media-timestamp-version: 0.1.0.0+version: 0.2.0.0 synopsis: A very simple timestamp. category: Media author: Daniel Firth
src/Media/Timestamp.hs view
@@ -12,12 +12,12 @@ -- | Timestamp data type. ----- @since 0.1.0.0+-- @since 0.2.0.0 data Time = Time { hour :: Int,- minutes :: Int,- seconds :: Int,- milliseconds :: Int+ minute :: Int,+ second :: Int,+ millisecond :: Int } deriving (Eq, Ord, Show)