Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Deployment log showing wrong time from X-ProGet-Deployment-Date header

    Scheduled Pinned Locked Moved Support
    progetnetdeployment
    3 Posts 1 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I've written a program to download packages from out Proget server. I have the application passing the X-ProGet headers that were documented here: https://inedo.com/support/questions/6944.

      I'm passing the date in ISO 8601 format. However, when I look at the package deployment log the time is wrong. It is 5 hours behind the actual time.

      I've tried passing the time as UTC and Local, that has no affect.

      If you provide me with an email address I can send you some screen shots of what I'm seeing.

      Here are the last two entries from the package deployment log:

      AutoUpdaterTest 2.3.0.27000	SPMYS-M93-WIN7 on 12/5/2017 11:57 AM by BNHQ\spmys
      AutoUpdaterTest 2.3.0.27000	SPMYS-M93-WIN7 on 12/5/2017 11:59 AM by BNHQ\spmys
      

      Here are the headers that correspond to each log entry:

      GET http://awwtng01.hq.bn-corp.com:81/nuget/goobers/package/ScribeUI/3.2.127 HTTP/1.1
      user-agent: NuGet Client V3/4.4.0 (Microsoft Windows NT 6.1.7601 Service Pack 1)
      X-NuGet-Client-Version: 4.4.0
      Accept-Language: en-US
      X-ProGet-Deployment-Application: AutoUpdaterTest 2.3.0.27000
      X-ProGet-Deployment-UserName: BNHQ\spmys
      X-ProGet-Deployment-Target: SPMYS-M93-WIN7
      X-ProGet-Deployment-Date: 2017-12-05T16:57:47.4391346-05:00
      Host: awwtng01.hq.bn-corp.com:81
      Accept-Encoding: gzip, deflate
      
      GET http://awwtng01.hq.bn-corp.com:81/nuget/goobers/package/ScribeUI/3.2.127 HTTP/1.1
      user-agent: NuGet Client V3/4.4.0 (Microsoft Windows NT 6.1.7601 Service Pack 1)
      X-NuGet-Client-Version: 4.4.0
      Accept-Language: en-US
      X-ProGet-Deployment-Application: AutoUpdaterTest 2.3.0.27000
      X-ProGet-Deployment-UserName: BNHQ\spmys
      X-ProGet-Deployment-Target: SPMYS-M93-WIN7
      X-ProGet-Deployment-Date: 2017-12-05T21:59:42.4141346Z
      Host: awwtng01.hq.bn-corp.com:81
      Accept-Encoding: gzip, deflate
      

      Why is the timestamp wrong? Any suggestions on how to get the correct time to show?

      Thanks

      marc

      Product: ProGet
      Version: 4.7.6

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        I haven't verified the code, but I'm thinking it's a bug related to UTC vs Local time storage. So I filed it here: PG-1167

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Alana, thank you for the update. I guess we can consider this closed until such time as we know otherwise.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation