Re: std.datetime impenetrable

2011-09-16 Thread Kagamin
Steve Teale Wrote: Alternatively, let me explain my desire. When my program first runs, I want to hazard a guess as to what size of paper the user is likely to use - US Letter Size, or A4/inches or metric. Do you wanna say all pdfs from america are done in letter size and won't print right

Re: std.datetime impenetrable

2011-09-16 Thread Kagamin
Steve Teale Wrote: Anyway, how would you do it? You need a compatibility layer like http://en.wikipedia.org/wiki/Freedesktop.org They already can have solution or you can consult with them.

Re: std.datetime impenetrable

2011-09-15 Thread Jonathan M Davis
On Thursday, September 15, 2011 10:48 Steve Teale wrote: Looking at the documentation makes my head hurt, especially if I have consumed some beer, when I am not pure and immutable. For an overview, check out http://d-programming-language.org/intro-to- datetime.html I'd _love_ to fix the links

Re: std.datetime impenetrable

2011-09-15 Thread Steve Teale
Oh, so it is difficult after all! I thought it was just me. So I am probably going to have to ask. Then the interesting question will be which way around will offend fewest people. I have installed it as ISO, then have to ask US users if they would prefer Letter Size, or the other way round

Re: std.datetime impenetrable

2011-09-15 Thread Jonathan M Davis
On Thursday, September 15, 2011 19:30:24 Steve Teale wrote: Oh, so it is difficult after all! I thought it was just me. No. It's hard. The best that you can get by asking Posix functions is the std and DST abbreviations for the current time zone - and those are non-unique. You'd have to do

Re: std.datetime impenetrable

2011-09-15 Thread Mike Wey
On 09/15/2011 07:48 PM, Steve Teale wrote: Alternatively, let me explain my desire. When my program first runs, I want to hazard a guess as to what size of paper the user is likely to use - US Letter Size, or A4/inches or metric. GTK does not seem to want to tell me about the default printer