Re: [Zope] A basic question I couldn't fine the answer on google
Hi Giampiero, How you upgrade depends on how you installed the Zope instance in the first place. You don’t provide much information but it seems you have two separate installs now, one with Zope 5.1.2 and one with 5.2.1? It’s safe to copy the Data.fs between these installations, yes. Make sure you shut down Zope instances before copying the file, though. jens > On 19. Jul 2021, at 12:37 , Giampiero Benvenuti > wrote: > > Hi there, > > let’s say, I want to upgrade from zope5.1.2 to zope 5.2.1 > Should I just replace the zope5.2.1 Data.fs with the zope5.1.2 one? > > Or, if this sound silly, how would you do it? > > Thank You, > > —giampiero signature.asc Description: Message signed with OpenPGP ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A basic question
+---[ Kristian Thy ]-- | On Sat, Jul 14, Giampiero Benvenuti wrote: | > I have a python script in my zope instance: | > | > dt=DateTime(2012,1) | > print dt | > print dt.strftime('%Y') | > print dt.year() | > | > return printed | > 2012/01/01 00:00:00 GMT+2 | > 2011 | > 2012 | > | > Why do I get two different values for the year (2011, 2012)? | | It would seem strftime defaults to a timezone "to the left" of GMT+2. strftime converts to UTC -- Andrew Milton a...@theinternet.com.au ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A basic question
On Sat, Jul 14, Giampiero Benvenuti wrote: > I have a python script in my zope instance: > > dt=DateTime(2012,1) > print dt > print dt.strftime('%Y') > print dt.year() > > return printed > 2012/01/01 00:00:00 GMT+2 > 2011 > 2012 > > Why do I get two different values for the year (2011, 2012)? It would seem strftime defaults to a timezone "to the left" of GMT+2. \\kristian -- ... et nemo ex vobis interrogat me: "Quo vadis?" ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )