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](https://github.com/mangstadt/ez-vcard/compare/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] <support@github.com>

* chore: add extension function to format Temporal objects

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
This commit is contained in:
dependabot[bot] 2025-07-08 20:00:03 +05:30 committed by GitHub
parent 5ff4f6991f
commit f6500552ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 9 deletions

View file

@ -1,8 +0,0 @@
package org.fossify.messages.extensions
import android.text.format.DateFormat
import java.util.Date
fun Date.format(pattern: String): String {
return DateFormat.format(pattern, this).toString()
}

View file

@ -0,0 +1,11 @@
package org.fossify.messages.extensions
import java.time.format.DateTimeFormatter
import java.time.temporal.Temporal
import java.util.Locale
fun Temporal.format(pattern: String): String {
return DateTimeFormatter
.ofPattern(pattern, Locale.getDefault())
.format(this)
}