Date formatting in D
Daniel Kozak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Mar 7 13:28:56 PST 2017
Dne 7.3.2017 v 21:29 aberba via Digitalmars-d-learn napsal(a):
> I've been trying to figure out an inbuilt functionality in phobos for
> formatting date. In my use case, I've been trying to format current
> Unix timestamp to something like "Thu, 08 Mar 2017 12:00:00 GMT".
>
> How do I go by this easily (Currently, long concatenation of strings
> is what I'm thinking)?
>
> I saw this thread[1] from 2011 on similar issue. Has it been resolved?
> What is the state of toCustomString?
>
> [1]
> http://forum.dlang.org/post/mailman.673.1320367887.24802.digitalmars-d-learn@puremagic.com
Sorry for my previous comments. I have not been reading this post
carefully. AFAIK you want some universal (general) format method for
dates. This make sense. So if you write pull request I believe it will
be accepted.
More information about the Digitalmars-d-learn
mailing list