<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Massimo,<br>
<br>
The fix was a little more complicated than I thought.<br>
I've just tested my new fix and it seems to work and look okay.<br>
<br>
Please try the latest beta release 6.10-7 which you can download
from<br>
<a class="moz-txt-link-freetext" href="https://zend.to/beta">https://zend.to/beta</a><br>
<br>
That should solve it.<br>
<br>
Please do let me know how you get on, I would like to do a
production release as soon as possible.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 02/06/2021 17:26, Massimo Forni
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!00dc243aac6b6a052ce931db0eae198431ebe4c9c4f3487ced065076b3a7c70855b420ded3926bbf44ecca7c8ac8bab1!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Hello Jules, this did not fixed the issue :(<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Any ideas ?<span id="ms-outlook-android-cursor"></span><br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
________________________<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Live long and prosper <br>
<br>
</div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b> Jules
<a class="moz-txt-link-rfc2396E" href="mailto:Jules@Zend.To"><Jules@Zend.To></a><br>
<b>Sent:</b> Friday, May 28, 2021 10:27:16 AM<br>
<b>To:</b> Massimo Forni <a class="moz-txt-link-rfc2396E" href="mailto:Massimo.Forni@turboden.it"><Massimo.Forni@turboden.it></a>;
ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
<b>Subject:</b> Re: [ZendTo] Not use before?</font>
<div> </div>
</div>
<div>You might need to clear the cache of compiled templates:<br>
sudo rm -f /var/zendto/templates_c/*php<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="x_moz-cite-prefix">On 28/05/2021 08:53, Massimo
Forni wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Hello Jules,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
So sorry for the late reply.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I applied your fix, but the issue persists.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
The target of the request need to wait 60 minutes to start
dropping the files</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Than k you</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font
style="font-size:11pt" face="Calibri, sans-serif"
color="#000000"><b>From:</b> Jules
<a class="x_moz-txt-link-rfc2396E"
href="mailto:Jules@Zend.To" moz-do-not-send="true"><Jules@Zend.To></a><br>
<b>Sent:</b> Monday, May 17, 2021 13:25<br>
<b>To:</b> ZendTo Users <a
class="x_moz-txt-link-rfc2396E"
href="mailto:zendto@zend.to" moz-do-not-send="true">
<zendto@zend.to></a><br>
<b>Cc:</b> Massimo Forni <a
class="x_moz-txt-link-rfc2396E"
href="mailto:Massimo.Forni@turboden.it"
moz-do-not-send="true">
<Massimo.Forni@turboden.it></a><br>
<b>Subject:</b> Re: [ZendTo] Not use before?</font>
<div> </div>
</div>
<div>Hi Massimo,<br>
<br>
Yes, you're absolutely right. I was trying to solve the
problem of the user creating the request being East of the
server's timezone, and accidentally created a problem if the
user is West of the server's timezone.<br>
<br>
The simple fix to this, if you want to patch your server
manually, is to edit<br>
/opt/zendto/templates/request.tpl<br>
and change line 310 from<br>
<tt> minDate: 0, // Disallow dates in the past</tt><br>
to<br>
<tt> minDate: -1, // Start at yesterday to avoid timezone
problems</tt><br>
<br>
That should be the only change required.<br>
<br>
This fix will be in the next release.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="x_x_moz-cite-prefix">On 11/05/2021 11:13,
Massimo Forni via ZendTo wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I see in the "reqtable" there is a column "Start" with a
timestamp that is set to the date+time of the locale of
the end user</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
In this case it has been set to 1620728545 which is at
10:22:25 UTC</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
The user created the request at 12:22:xx of his local
time (09:22:xx UTC)</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I suspect there is some timezone miss-calculation
somewhere</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font
style="font-size:11pt" face="Calibri, sans-serif"
color="#000000"><b>From:</b> ZendTo
<a class="x_x_moz-txt-link-rfc2396E"
href="mailto:zendto-bounces@zend.to"
moz-do-not-send="true"><zendto-bounces@zend.to></a>
on behalf of Massimo Forni via ZendTo
<a class="x_x_moz-txt-link-rfc2396E"
href="mailto:zendto@zend.to" moz-do-not-send="true"><zendto@zend.to></a><br>
<b>Sent:</b> Tuesday, May 11, 2021 11:47<br>
<b>To:</b> <a class="x_x_moz-txt-link-abbreviated
x_moz-txt-link-freetext moz-txt-link-freetext"
href="mailto:zendto@zend.to" moz-do-not-send="true">
zendto@zend.to</a> <a
class="x_x_moz-txt-link-rfc2396E"
href="mailto:zendto@zend.to" moz-do-not-send="true">
<zendto@zend.to></a><br>
<b>Cc:</b> Massimo Forni <a
class="x_x_moz-txt-link-rfc2396E"
href="mailto:Massimo.Forni@turboden.it"
moz-do-not-send="true">
<Massimo.Forni@turboden.it></a><br>
<b>Subject:</b> [ZendTo] Not use before?</font>
<div> </div>
</div>
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div dir="ltr">
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Hello,</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I have some strange issue with the latest build.</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
If a user with a different timezone (ahead of mine, in
this case 1 hour) uses the "Request a Drop-off" and I
click on the link I am presented the following error:</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<img size="94307" tabindex="-1" class=""
data-outlook-trace="F:3|T:3"
src="cid:part1.la8wcjbZ.7aJTn9nv@Zend.To"
style="max-width:100%"><br>
</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Could it be that when zendto generates the link for
the request it sets a "not use before" field with the
users local time?</div>
<p>--</p>
<table style="width:375px">
<tbody>
<tr>
<td>
<p><span style="font-family:Calibri Light;
font-size:small"><strong>Massimo Forni</strong><br>
ICT Manager<br>
<br>
Mobile: +393474110278<br>
</span></p>
<hr>
<p><span style="font-family:Calibri Light;
font-size:small"><strong>Turboden S.p.A.</strong>
<span style="color:red"><strong>I</strong></span>
via Cernaia 10 <span style="color:red">
<strong>I</strong></span> 25124 Brescia <span
style="color:red"><strong>I</strong></span>
Italy<br>
t. +39 030 3552001 <span style="color:red"><strong>I</strong></span>
f. +39 030 3552011<br>
<a href="http://www.turboden.com"
moz-do-not-send="true">www.turboden.com</a></span></p>
</td>
</tr>
<tr>
<td style="text-align:justify">
<p><span style="font-family:Calibri Light;
font-size:8pt"><br>
<strong>Confidentiality notice</strong>:
this message, together with its attachments,
may contain strictly confidential and/or
legally privileged information and it is
destined solely to the intended
addressee(s), who only may use it under
his/their responsibility. Opinions,
conclusions and other information contained
in this message, that do not relate to the
official business of this firm, shall be
considered as not given or endorsed by it.
If you have received this communication in
error, please notify us immediately by
responding to this email and then delete it
from your system. Any use, disclosure,
copying or distribution of the contents of
this communication by a not-intended
recipient or in violation of the purposes of
this communication is strictly prohibited
and may be unlawful.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>--</p>
<table style="width:375px">
<tbody>
<tr>
<td>
<p><span style="font-family:Calibri Light;
font-size:small"><strong>Massimo Forni</strong><br>
ICT Manager<br>
<br>
Mobile: +393474110278<br>
</span></p>
<hr>
<p><span style="font-family:Calibri Light;
font-size:small"><strong>Turboden S.p.A.</strong>
<span style="color:red"><strong>I</strong></span>
via Cernaia 10 <span style="color:red">
<strong>I</strong></span> 25124 Brescia <span
style="color:red"><strong>I</strong></span>
Italy<br>
t. +39 030 3552001 <span style="color:red"><strong>I</strong></span>
f. +39 030 3552011<br>
<a href="http://www.turboden.com"
moz-do-not-send="true">www.turboden.com</a></span></p>
</td>
</tr>
<tr>
<td style="text-align:justify">
<p><span style="font-family:Calibri Light;
font-size:8pt"><br>
<strong>Confidentiality notice</strong>: this
message, together with its attachments, may
contain strictly confidential and/or legally
privileged information and it is destined
solely to the intended addressee(s), who only
may use it under his/their responsibility.
Opinions, conclusions and other information
contained in this message, that do not relate
to the official business of this firm, shall
be considered as not given or endorsed by it.
If you have received this communication in
error, please notify us immediately by
responding to this email and then delete it
from your system. Any use, disclosure, copying
or distribution of the contents of this
communication by a not-intended recipient or
in violation of the purposes of this
communication is strictly prohibited and may
be unlawful.</span></p>
</td>
</tr>
</tbody>
</table>
<br>
<fieldset class="x_x_mimeAttachmentHeader"></fieldset>
<pre class="x_x_moz-quote-pre">_______________________________________________
ZendTo mailing list
<a class="x_x_moz-txt-link-abbreviated x_moz-txt-link-freetext moz-txt-link-freetext" href="mailto:ZendTo@zend.to" moz-do-not-send="true">ZendTo@zend.to</a>
<a class="x_x_moz-txt-link-freetext" href="https://urldefense.com/v3/__http://jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!jJ-PNPBCRrKruQLSwhw7QdEoMTRf5moZ70YUCLzAVrQkg_O8idHQGGykw2Qm1xaS0nV0ZA$" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto [jul.es]</a>
</pre>
</blockquote>
<br>
<pre class="x_x_moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'When a man points a finger at someone else, he should remember
that four of his fingers are pointing at himself.' - Louis Nizer
<a class="x_x_moz-txt-link-abbreviated" href="https://urldefense.com/v3/__http://www.Zend.To__;!!BYEqwblc0Q!jJ-PNPBCRrKruQLSwhw7QdEoMTRf5moZ70YUCLzAVrQkg_O8idHQGGykw2Qm1xa_UFyICw$" moz-do-not-send="true">www.Zend.To [zend.to]</a>
Twitter: @JulesFM
</pre>
</div>
<p>--</p>
<table style="width:375px">
<tbody>
<tr>
<td>
<p><span style="font-family:Calibri Light;
font-size:small"><strong>Massimo Forni</strong><br>
ICT Manager<br>
<br>
Mobile: +393474110278<br>
</span></p>
<hr>
<p><span style="font-family:Calibri Light;
font-size:small"><strong>Turboden S.p.A.</strong>
<span style="color:red"><strong>I</strong></span>
via Cernaia 10 <span style="color:red">
<strong>I</strong></span> 25124 Brescia <span
style="color:red"><strong>I</strong></span>
Italy<br>
t. +39 030 3552001 <span style="color:red"><strong>I</strong></span>
f. +39 030 3552011<br>
<a href="http://www.turboden.com"
moz-do-not-send="true">www.turboden.com</a></span></p>
</td>
</tr>
<tr>
<td style="text-align:justify">
<p><span style="font-family:Calibri Light;
font-size:8pt"><br>
<strong>Confidentiality notice</strong>: this
message, together with its attachments, may
contain strictly confidential and/or legally
privileged information and it is destined solely
to the intended addressee(s), who only may use it
under his/their responsibility. Opinions,
conclusions and other information contained in
this message, that do not relate to the official
business of this firm, shall be considered as not
given or endorsed by it. If you have received this
communication in error, please notify us
immediately by responding to this email and then
delete it from your system. Any use, disclosure,
copying or distribution of the contents of this
communication by a not-intended recipient or in
violation of the purposes of this communication is
strictly prohibited and may be unlawful.</span></p>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<pre class="x_moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'When a man points a finger at someone else, he should remember
that four of his fingers are pointing at himself.' - Louis Nizer
<a class="x_moz-txt-link-abbreviated" href="https://urldefense.com/v3/__http://www.Zend.To__;!!BYEqwblc0Q!m22vAermwNhzNM-jHRykuhuXBcMaQ1yHsVLU3vYHpi97C8H1xL15Mmhk2gEPpiRVEBo0bg$" moz-do-not-send="true">www.Zend.To [zend.to]</a>
Twitter: @JulesFM
</pre>
</div>
<p>--</p>
<table style="width: 375px;">
<tbody>
<tr>
<td>
<p><span style="font-family: Calibri Light; font-size:
small;"><strong>Massimo Forni</strong><br>
ICT Manager<br>
<br>
Mobile: +393474110278<br>
</span></p>
<hr>
<p><span style="font-family: Calibri Light; font-size:
small;"><strong>Turboden S.p.A.</strong>
<span style="color: red;"><strong>I</strong></span>
via Cernaia 10 <span style="color: red;">
<strong>I</strong></span> 25124 Brescia <span
style="color: red;"><strong>I</strong></span> Italy<br>
t. +39 030 3552001 <span style="color: red;"><strong>I</strong></span>
f. +39 030 3552011<br>
<a href="http://www.turboden.com"
moz-do-not-send="true">www.turboden.com</a></span></p>
</td>
</tr>
<tr>
<td style="text-align: justify;">
<p><span style="font-family: Calibri Light; font-size:
8pt;"><br>
<strong>Confidentiality notice</strong>: this message,
together with its attachments, may contain strictly
confidential and/or legally privileged information and
it is destined solely to the intended addressee(s),
who only may use it under his/their responsibility.
Opinions, conclusions and other information contained
in this message, that do not relate to the official
business of this firm, shall be considered as not
given or endorsed by it. If you have received this
communication in error, please notify us immediately
by responding to this email and then delete it from
your system. Any use, disclosure, copying or
distribution of the contents of this communication by
a not-intended recipient or in violation of the
purposes of this communication is strictly prohibited
and may be unlawful.</span></p>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.
Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.
Good men, the last wave by, crying how bright
Their frail deeds might have danced in a green bay,
Rage, rage against the dying of the light.
Wild men who caught and sang the sun in flight,
And learn, too late, they grieved it on its way,
Do not go gentle into that good night.
Grave men, near death, who see with blinding sight
Blind eyes could blaze like meteors and be gay,
Rage, rage against the dying of the light.
And you, my father, there on the sad height,
Curse, bless, me now with your fierce tears, I pray.
Do not go gentle into that good night.
Rage, rage against the dying of the light.'
- Dylan Thomas
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>