<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<p dir="auto">That looks like you are on a 32bit system and/or <code>date</code> uses a 32 bit signed time_t type.</p>
<p dir="auto">Here on a 64 bit system (being off from yours by 9 hours)</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ datefudge "2100-01-01 10:00:00" date +%s</span>
<span id="LC2" class="line" lang="plaintext">4102477200</span></code></pre>
<p dir="auto"><code>printf("%u\n",-192457696);</code> gives <code>4102509600</code> and</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ echo '(4102477200 - 4102509600) / 3600'|bc -l</span>
<span id="LC2" class="line" lang="plaintext">-9.00000000000000000000</span></code></pre>
<p dir="auto"><a href="https://gitlab.com/nmav" data-user="105950" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Nikos Mavrogiannopoulos">@nmav</a> We already had that discussion, but I don't remember the details... we could skip that test if <code>SIZEOF_TIME_T</code> is 4 and <code>TIME_T_IS_SIGNED</code> is 1.</p>
<p dir="auto"><a href="https://gitlab.com/Pipfrosch" data-user="3303268" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Michael A. Peters">@Pipfrosch</a> Please gives us the output of <code>grep TIME_T config.h</code>.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/647#note_126665236">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/505b2470628c6db5f959448eb991bcc6/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/647#note_126665236"}}</script>
</p>
</div>
</body>
</html>