Skip to content

Commit f650055

Browse files
chore(deps): bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.1 (#392)
* chore(deps): bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.1 Bumps [com.googlecode.ez-vcard:ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.3 to 0.12.1. - [Commits](mangstadt/ez-vcard@0.11.3...0.12.1) --- updated-dependencies: - dependency-name: com.googlecode.ez-vcard:ez-vcard dependency-version: 0.12.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore: add extension function to format Temporal objects --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Naveen Singh <[email protected]>
1 parent 5ff4f69 commit f650055

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

app/src/main/kotlin/org/fossify/messages/extensions/Date.kt

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package org.fossify.messages.extensions
2+
3+
import java.time.format.DateTimeFormatter
4+
import java.time.temporal.Temporal
5+
import java.util.Locale
6+
7+
fun Temporal.format(pattern: String): String {
8+
return DateTimeFormatter
9+
.ofPattern(pattern, Locale.getDefault())
10+
.format(this)
11+
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app-build-minimumSDK = "26"
2828
app-build-javaVersion = "VERSION_17"
2929
app-build-kotlinJVMTarget = "17"
3030
#Helpers
31-
ez-vcard = "0.11.3"
31+
ez-vcard = "0.12.1"
3232
shortcut-badger = "1.1.22"
3333
[libraries]
3434
#AndroidX

0 commit comments

Comments
 (0)