You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by gharmon1977 <ga...@deltadentalva.com> on 2013/01/29 17:46:54 UTC

svn log --xml timestamp discrepancy issue

When executing the following commands, I receive 2 different outputs
regarding timestamps:

svn log --xml -v --revision {"20130128"}:{"20130129"}
URL/svn/repository/%SVNDir%
OUTPUT:

/<logentry
   revision="55913">
<author>DevName</author>
<date>*2013-01-29T02:31:38.558152Z*</date>
/



svn log -v --revision {"20130128"}:{"20130129"} URL/svn/repository/%SVNDir%
OUTPUT:

/r55913 | DevName | *2013-01-28 21:31:38*/


Timestamp discrepancy ... How's that possible?  Anyone else seen this? The
--xml arg displays incorrect timestamp.

Current work around, execute svn log and script creation of xml file based
on the output of the svn log.



--
View this message in context: http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789.html
Sent from the Subversion Users mailing list archive at Nabble.com.

Re: svn log --xml timestamp discrepancy issue

Posted by Andy Levy <an...@gmail.com>.
On Tue, Jan 29, 2013 at 1:27 PM, gharmon1977 <
gabriel.harmon@deltadentalva.com> wrote:

>  UTC-4 = Eastern Time Zone****
>
> **
>

EST (Eastern Standard Time  - November to March) is  UTC -5

EDT (Eastern Daylight Time - March to November) is UTC -4

Right now, UTC -4 is AST (Atlantic) - the Canadian Maritimes, Puerto Rico,
Bermuda, etc.


>  **
>
> And, you are 100% correct. Based on the timestamps, everything is working
> as intended.  It was my ignorance that caused the problem :)****
>
> ** **
>
> *Gabriel Harmon* ****
>
> *From:* Thorsten Schöning [via Subversion] [mailto:ml-node+[hidden email]<http://user/SendEmail.jtp?type=node&node=177797&i=0>]
>
> *Sent:* Tuesday, January 29, 2013 12:45 PM
>
> *To:* Gabriel Harmon
> *Subject:* Re: svn log --xml timestamp discrepancy issue****
>
> ** **
>
> Guten Tag gharmon1977,
> am Dienstag, 29. Januar 2013 um 17:56 schrieben Sie:
>
> > Technically, I'm physically residing in UTC-4 ..
>
> what does that mean? What is the timezone under the environment where
> you executed your svn statement?
>
> > I'm not sure if
> > the server hosting SVN is UTC-5.
>
> The server it not the problem, as your first svn command provides what
> it thinks is UTC and only this timestamp is recalculated locally to
> meet your local timezone settings in the second command. The server is
> not involved in those calculations, you need to know yourself if the
> provided timestamps are correct depending on your local settings.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail:[hidden email]<http://user/SendEmail.jtp?type=node&node=177794&i=0>
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
>
> ****
>
>  ------------------------------
>
> *If you reply to this email, your message will be added to the discussion
> below:*
>
>
> http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789p177794.html
> ****
>
> To unsubscribe from svn log --xml timestamp discrepancy issue, click here.
> NAML<http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> ****
>
>
> The information contained in this email and subsequent attachments
> may be privileged, confidential and protected from disclosure. This
> transmission is intended for the sole use of the individual and entity to
>
> whom it is addressed.  If you are not the intended recipient, any
> dissemination, distribution or copying is strictly prohibited. If you have
> received this message in error, please email the sender at the above
> email address.
>
>
> ------------------------------
> View this message in context: RE: svn log --xml timestamp discrepancy
> issue<http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789p177797.html>
> Sent from the Subversion Users mailing list archive<http://subversion.1072662.n5.nabble.com/Subversion-Users-f84423.html>at Nabble.com.
>

RE: svn log --xml timestamp discrepancy issue

Posted by gharmon1977 <ga...@deltadentalva.com>.
UTC-4 = Eastern Time Zone

And, you are 100% correct. Based on the timestamps, everything is working as intended.  It was my ignorance that caused the problem :)

Gabriel Harmon
From: Thorsten Schöning [via Subversion] [mailto:ml-node+s1072662n177794h94@n5.nabble.com]
Sent: Tuesday, January 29, 2013 12:45 PM
To: Gabriel Harmon
Subject: Re: svn log --xml timestamp discrepancy issue

Guten Tag gharmon1977,
am Dienstag, 29. Januar 2013 um 17:56 schrieben Sie:

> Technically, I'm physically residing in UTC-4 ..

what does that mean? What is the timezone under the environment where
you executed your svn statement?

> I'm not sure if
> the server hosting SVN is UTC-5.

The server it not the problem, as your first svn command provides what
it thinks is UTC and only this timestamp is recalculated locally to
meet your local timezone settings in the second command. The server is
not involved in those calculations, you need to know yourself if the
provided timestamps are correct depending on your local settings.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning       E-Mail:[hidden email]</user/SendEmail.jtp?type=node&node=177794&i=0>
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


________________________________
If you reply to this email, your message will be added to the discussion below:
http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789p177794.html
To unsubscribe from svn log --xml timestamp discrepancy issue, click here<http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=177789&code=Z2FicmllbC5oYXJtb25AZGVsdGFkZW50YWx2YS5jb218MTc3Nzg5fDQyODcyMjgx>.
NAML<http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

The information contained in this email and subsequent attachments
may be privileged, confidential and protected from disclosure. This
transmission is intended for the sole use of the individual and entity to
whom it is addressed.  If you are not the intended recipient, any
dissemination, distribution or copying is strictly prohibited. If you have
received this message in error, please email the sender at the above
email address.




--
View this message in context: http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789p177797.html
Sent from the Subversion Users mailing list archive at Nabble.com.

Re: svn log --xml timestamp discrepancy issue

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag gharmon1977,
am Dienstag, 29. Januar 2013 um 17:56 schrieben Sie:

> Technically, I'm physically residing in UTC-4 ..

what does that mean? What is the timezone under the environment where
you executed your svn statement?

> I'm not sure if
> the server hosting SVN is UTC-5.

The server it not the problem, as your first svn command provides what
it thinks is UTC and only this timestamp is recalculated locally to
meet your local timezone settings in the second command. The server is
not involved in those calculations, you need to know yourself if the
provided timestamps are correct depending on your local settings.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


RE: svn log --xml timestamp discrepancy issue

Posted by gharmon1977 <ga...@deltadentalva.com>.
Technically, I'm physically residing in UTC-4 .. I'm not sure if the server hosting SVN is UTC-5.  I was never involved with the initial creation of the server .. However, I can check and modify as needed then re-pull the logs, see if that does indeed resolve the issue.

Thanks,

Gabriel Harmon
From: Andy Levy [via Subversion] [mailto:ml-node+s1072662n177790h70@n5.nabble.com]
Sent: Tuesday, January 29, 2013 11:53 AM
To: Gabriel Harmon
Subject: Re: svn log --xml timestamp discrepancy issue

On Tue, Jan 29, 2013 at 11:46 AM, gharmon1977 <[hidden email]</user/SendEmail.jtp?type=node&node=177790&i=0>> wrote:
When executing the following commands, I receive 2 different outputs
regarding timestamps:

svn log --xml -v --revision {"20130128"}:{"20130129"}
URL/svn/repository/%SVNDir%
OUTPUT:

/<logentry
   revision="55913">
<author>DevName</author>
<date>*2013-01-29T02:31:38.558152Z*</date>
/



svn log -v --revision {"20130128"}:{"20130129"} URL/svn/repository/%SVNDir%
OUTPUT:

/r55913 | DevName | *2013-01-28 21:31:38*/


Timestamp discrepancy ... How's that possible?  Anyone else seen this? The
--xml arg displays incorrect timestamp.

Current work around, execute svn log and script creation of xml file based
on the output of the svn log.

The XML output gives the UTC time (note the trailing Z). svn log is giving your local time. Is your current timezone UTC -5:00?


________________________________
If you reply to this email, your message will be added to the discussion below:
http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789p177790.html
To unsubscribe from svn log --xml timestamp discrepancy issue, click here<http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=177789&code=Z2FicmllbC5oYXJtb25AZGVsdGFkZW50YWx2YS5jb218MTc3Nzg5fDQyODcyMjgx>.
NAML<http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

The information contained in this email and subsequent attachments
may be privileged, confidential and protected from disclosure. This
transmission is intended for the sole use of the individual and entity to
whom it is addressed.  If you are not the intended recipient, any
dissemination, distribution or copying is strictly prohibited. If you have
received this message in error, please email the sender at the above
email address.




--
View this message in context: http://subversion.1072662.n5.nabble.com/svn-log-xml-timestamp-discrepancy-issue-tp177789p177791.html
Sent from the Subversion Users mailing list archive at Nabble.com.

Re: svn log --xml timestamp discrepancy issue

Posted by Andy Levy <an...@gmail.com>.
On Tue, Jan 29, 2013 at 11:46 AM, gharmon1977 <
gabriel.harmon@deltadentalva.com> wrote:

> When executing the following commands, I receive 2 different outputs
> regarding timestamps:
>
> svn log --xml -v --revision {"20130128"}:{"20130129"}
> URL/svn/repository/%SVNDir%
> OUTPUT:
>
> /<logentry
>    revision="55913">
> <author>DevName</author>
> <date>*2013-01-29T02:31:38.558152Z*</date>
> /
>
>
>
> svn log -v --revision {"20130128"}:{"20130129"} URL/svn/repository/%SVNDir%
> OUTPUT:
>
> /r55913 | DevName | *2013-01-28 21:31:38*/
>
>
> Timestamp discrepancy ... How's that possible?  Anyone else seen this? The
> --xml arg displays incorrect timestamp.
>
> Current work around, execute svn log and script creation of xml file based
> on the output of the svn log.
>
>
The XML output gives the UTC time (note the trailing Z). svn log is giving
your local time. Is your current timezone UTC -5:00?