<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
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="moz-cite-prefix">On 28/05/2021 08:53, Massimo Forni
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!bd34880a9a83e74a4c8505c594e0c2e3020b71708b9819d6d6ff5a75908f5c6124ae01274cb39ecce6fa8e0bc28fcfec!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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 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> Monday, May 17, 2021 13:25<br>
<b>To:</b> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
<b>Cc:</b> Massimo Forni <a class="moz-txt-link-rfc2396E" href="mailto:Massimo.Forni@turboden.it"><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_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_divRplyFwdMsg" dir="ltr"><font
style="font-size:11pt" face="Calibri, sans-serif"
color="#000000"><b>From:</b> ZendTo
<a class="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_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_moz-txt-link-abbreviated
moz-txt-link-freetext" href="mailto:zendto@zend.to"
moz-do-not-send="true">zendto@zend.to</a>
<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> [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=""
style="max-width:100%" data-outlook-trace="F:3|T:3"
src="cid:part1.rT73ir0J.5Bec7a9a@Zend.To"><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_mimeAttachmentHeader"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
ZendTo mailing list
<a class="x_moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:ZendTo@zend.to" moz-do-not-send="true">ZendTo@zend.to</a>
<a class="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_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!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="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="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>