<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-06-20 7:31 GMT+02:00 Pirate Praveen <span dir="ltr"><<a href="mailto:praveen@debian.org" target="_blank">praveen@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 19 Jun 2017 07:57:23 +0200 Paolo Greppi <<a href="mailto:paolo.greppi@libpf.com">paolo.greppi@libpf.com</a>><br>
wrote:<br>
<div><div class="h5">> According to upstream (<a href="https://github.com/felixge/node-dateformat/issues/21" rel="noreferrer" target="_blank">https://github.com/felixge/<wbr>node-dateformat/issues/21</a>) "dateformat() doesn't really play well with timezones since the javascript Date() object itself doesn't really play well with timezones."<br>
><br>
> We should be content with fixing the tests for the GMT timezone using the trick suggested by kapouer (<a href="https://github.com/felixge/node-dateformat/issues/41#issuecomment-286419133" rel="noreferrer" target="_blank">https://github.com/felixge/<wbr>node-dateformat/issues/41#<wbr>issuecomment-286419133</a>):<br>
><br>
> TZ=GMT mocha -R spec<br>
><br>
> Paolo<span style="color:rgb(34,34,34)"> </span></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
><br>
><br>
<br>
</div></div>Paolo,<br>
<br>
In rules, its already<br>
TZ=Etc/UTC mocha -R spec<br>
<br>
Do you think TZ=GMT will fix it?<br>
<br></blockquote><div><br></div><div>I'm pretty sure it does.</div><div><br></div><div>Jérémy </div></div><br></div></div>