Article View: be.comp.programming
Article #190tijd converteren in C
From: wimpunk
Date: Mon, 29 Oct 2012 22:04
Date: Mon, 29 Oct 2012 22:04
19 lines
1679 bytes
1679 bytes
Hoi, Ik heb een klein testprogrammatje geschreven [1] dat een tijdsstring volgens ISO 8601 omzet gebruik makend van strptime. Vreemd genoeg krijg ik het correcte resultaat onder os X terwijl ubuntu niet het correcte (of toch het verwachte resultaat) oplevert. * osx: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) * ubuntu: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3) Onder osX zit er netjes 4 uur verschil tussen de twee resultaten terwijl ubuntu de tijdszone lijkt te negeren. [1] http://pastebin.com/kJchRxxq groeten, wim.
Technical Details
Message-ID:
<u3b3m9-bci.ln1@tisnix.motzarella.org>Path:
arc1-ca.pugleaf.net!s9ni66432pbb.0!nntp.google.com!npeer03.iad.highwinds-media.com!feed-me.highwinds-media.com!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf03.am4!fx12.am4.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fcea4,4b265506c665d809,start
X-Google-NewGroupId: yes
X-Google-Attributes: gid7e5f19c06,domainid0,public,usenet
X-Google-Language: DUTCH,ASCII-7-bit
Received: by 10.66.88.200 with SMTP id bi8mr8982629pab.27.1351548488265;
Mon, 29 Oct 2012 15:08:08 -0700 (PDT)
Path: arc1-ca.pugleaf.net!s9ni66432pbb.0!nntp.google.com!npeer03.iad.highwinds-media.com!feed-me.highwinds-media.com!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf03.am4!fx12.am4.POSTED!not-for-mail
From: wimpunk <ybwdlapvxvun@spammotel.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version: 1.0
Newsgroups: be.comp.programming
Subject: tijd converteren in C
Message-ID: <u3b3m9-bci.ln1@tisnix.motzarella.org>
Lines: 19
X-Complaints-To: abuse@schedom.be
NNTP-Posting-Date: Mon, 29 Oct 2012 22:08:07 UTC
Organization: schedom.be
Date: Mon, 29 Oct 2012 23:04:13 +0100
X-Received-Bytes: 1334
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit