<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
No problem Phil ! ;)<br>
<br>
bye<br>
n.<br>
<br>
<br>
<div class="moz-cite-prefix">On 8/15/21 5:45 PM, Phil B wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMJMOegaqqCKYxq91Ye84X3N3Jicz6apdjUfUUJ8wTKgwrQHrA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Nicola,
<div><br>
</div>
<div>Apologies... I just re-read your original question and
realized I missed the part where you confirmed the image was
using the correct offset. So then I'd look at things like
DateAndTime>>filenameishPrintOn: which ignores the
offset... this could either be by design or a bug. If it is
intentionally being done we should probably have at least a
quick comment in the method to avoid any confusion.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Phil</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Aug 15, 2021 at 4:24
AM Nicola Mingotti <<a href="mailto:nmingotti@gmail.com"
moz-do-not-send="true">nmingotti@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
Hi Phil,<br>
<br>
I did some digging, unluckily i did not find the answer to
my question.<br>
It would require a tougher digging ;) <br>
<br>
Changeset -> FileoutAndKeep calls:<br>
ChangeSorter # fileOutAndKeep, which calls<br>
myChangeSet fileout, and inside that there is written<br>
Utilities dataTimeSuffix (But, not called always)<br>
<br>
------- ChangeSet#fileout --------------------<br>
fileOut<br>
| temp1 temp2 |<br>
temp2 _ self name.<br>
temp2 _ temp2<br>
copyReplaceAll: 'AuthorName'<br>
with: Utilities authorName asUnaccented asCamelCase.<br>
temp2 _ Preferences changeSetVersionNumbers<br>
ifTrue: [<br>
DirectoryEntry currentDirectory<br>
nextNameFor: temp2<br>
coda: '-' , Utilities authorInitials<br>
extension: '<a href="http://cs.st"
target="_blank" moz-do-not-send="true">cs.st</a>' ]<br>
ifFalse: [ (temp2 , '.' , Utilities dateTimeSuffix ,
'.<a href="http://cs.st" target="_blank"
moz-do-not-send="true">cs.st</a>') asFileName ].<br>
temp2 asFileEntry writeStreamDo: [ :argm3_3 |<br>
-- cut--<br>
-------------------------------------------------------<br>
<br>
So "Utilities dateTimeSuffix" is not called always, only if
there does not exist "Preferences changeSetVersionNumber".<br>
<br>
Now: <br>
--- in my workspace ---<br>
Utilities dateTimeSuffix . " '2021-08-15_09.47.14' "<br>
DateAndTime now. " 2021-08-15T09:47:16.832436+00:00
"<br>
------------------------------<br>
<br>
Observe they give the same time, let's forget about the
locale that will be in another episode ;)<br>
=> The "problem" is not there<br>
<br>
But this is the fileout i made 5 mins ago via ChangeSorter<br>
----- shell ----<br>
$> date<br>
Sun 15 Aug 2021 09:50:06 AM CEST<br>
$> p@deb4:~/prog/smalltalk$ ls -lrt | grep CuisCore<br>
-rw-r--r-- 1 p p 4267 Aug 15 09:43 <a
href="http://4739-CuisCore-NicolaMingotti-2021Aug14-12h01m-NM.001.cs.st"
target="_blank" moz-do-not-send="true">4739-CuisCore-NicolaMingotti-2021Aug14-12h01m-NM.001.cs.st</a><br>
-----------------<br>
<br>
Observe the 'Aug14-12h01' has nothing to do with DateTimeNow
now, nor Utilities dateTimeSuffix output.<br>
<br>
My conclusion for the moment is:<br>
. If on fileout some relevant timing is found about the
changeset then that data&time is used<br>
. If on fileout some relevant timing about the change is not
found than the current data&time is used.<br>
<br>
<br>
Bye<br>
Nicola<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div>On 8/14/21 8:20 PM, Phil B wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">See DateAndTime class>>localTimeZone:</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Aug 14, 2021
at 1:51 PM Nicola Mingotti via Cuis-dev <<a
href="mailto:cuis-dev@lists.cuis.st" target="_blank"
moz-do-not-send="true">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font size="+1"><font face="monospace">Hi
again,<br>
<br>
final question for today;)<br>
<br>
I did a fileout about one hour ago, i noticed
the time in the filename<br>
is about 9 hours back respect to Rome time. But
`DateTime now` gives<br>
the correct time for my timezone. <br>
<br>
Is this output wanted or a mini-bug ? <br>
<br>
bye<br>
Nicola<br>
<br>
<br>
<br>
<br>
</font></font> </div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st"
target="_blank" moz-do-not-send="true">Cuis-dev@lists.cuis.st</a><br>
<a
href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>