# \#formatstyle

**URL:** https://forums.swift.org/tag/formatstyle/883.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Allow users to format values in a Matrix struct](https://forums.swift.org/t/allow-users-to-format-values-in-a-matrix-struct/78261)

<div class="topic-metadata">

**Author:** [@wigging](https://forums.swift.org/u/wigging)\
**Replies:** 10\
**Last updated:** [March 11, 2025, 9:57am UTC](https://forums.swift.org/t/allow-users-to-format-values-in-a-matrix-struct/78261 "2025-03-11T09:57:12Z")

</div>

I have a Matrix structure as shown below for working with two-dimensional numerical data. The underlying numeric values of the matrix are stored as a flat array. struct Matrix\<T\> { let rows: Int let columns: In…

---

## [Date.ParseStrategy(dateString:) overload?](https://forums.swift.org/t/date-parsestrategy-datestring-overload/70649)

<div class="topic-metadata">

**Author:** [@carlynorama](https://forums.swift.org/u/carlynorama)\
**Replies:** 3\
**Last updated:** [March 28, 2024, 2:03pm UTC](https://forums.swift.org/t/date-parsestrategy-datestring-overload/70649 "2024-03-28T14:03:06Z")

</div>

So I like a lot about how the new Date formatting options work, but sometimes I find the "format" part super verbose as I already have a whole cheat sheet of the styles I use and a String is a lot easier to store and pas…

---

## [Question about round-tripping with Date.ParseStrategy and Date.FormatStyle](https://forums.swift.org/t/question-about-round-tripping-with-date-parsestrategy-and-date-formatstyle/70590)

<div class="topic-metadata">

**Author:** [@James\_Dempsey](https://forums.swift.org/u/James_Dempsey)\
**Replies:** 4\
**Last updated:** [March 12, 2024, 3:19am UTC](https://forums.swift.org/t/question-about-round-tripping-with-date-parsestrategy-and-date-formatstyle/70590 "2024-03-12T03:19:28Z")

</div>

I am working with a text file format that I do not have control over. Dates are represented with strings like "2014\_03\_11" using an underscore to separate them rather than a space or a hyphen. I am able to create a Dat…

---

## [\`Date.formatted(\_:)\` is returning a different string in Xcode 15](https://forums.swift.org/t/date-formatted-is-returning-a-different-string-in-xcode-15/67511)

<div class="topic-metadata">

**Author:** [@zkline101](https://forums.swift.org/u/zkline101)\
**Replies:** 9\
**Last updated:** [March 6, 2024, 4:39am UTC](https://forums.swift.org/t/date-formatted-is-returning-a-different-string-in-xcode-15/67511 "2024-03-06T04:39:46Z")

</div>

Hello! When using Date.formatted(\_:) in Xcode 15 vs Xcode 14.3.1, we are getting back a different string. Please see the image below to see the difference in the string. Before "PM" the single space is a different leng…

---

## [Localised formatting of UInt64 (or BigInts)](https://forums.swift.org/t/localised-formatting-of-uint64-or-bigints/67281)

<div class="topic-metadata">

**Author:** [@wadetregaskis](https://forums.swift.org/u/wadetregaskis)\
**Replies:** 5\
**Last updated:** [September 15, 2023, 6:35pm UTC](https://forums.swift.org/t/localised-formatting-of-uint64-or-bigints/67281 "2023-09-15T18:35:43Z")

</div>

It appears there's no way to render a UInt64 (or similarly large integer type) to a localised string (appropriate thousands separators etc) in the Swift standard library nor Foundation? The FormatStyle stuff (.formatted…
