Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Is it possible to fix publication date? It depends on the logon state!

Is it possible to fix publication date? It depends on the logon state!

Scheduled Pinned Locked Moved Site Bugs / Suggestions
helpcomtoolsquestion
13 Posts 3 Posters 3 Views 1 Watching
  • 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.
  • S Sergey Alexandrovich Kryukov

    The point is having the April 1st mark on the article permanently. I consider it as one of the attributes of all my April 1st articles. Even if I see a need for a fix, I prepare an update and wait until next April 1st to submit it... Thank you.

    — SA

    Sergey A Kryukov

    C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #4

    We do have some magic powers that will allow us to update your article without changing the date... (Just email us the changes and we'll look after you)

    cheers Chris Maunder

    S 1 Reply Last reply
    0
    • C Chris Maunder

      We do have some magic powers that will allow us to update your article without changing the date... (Just email us the changes and we'll look after you)

      cheers Chris Maunder

      S Offline
      S Offline
      Sergey Alexandrovich Kryukov
      wrote on last edited by
      #5

      Thank you for offering me that backdoor. But what I've reported is looks just like a bug. [EDIT] Could you tell me what date do you see on this article, and what do you see if you log off?

      —SA

      Sergey A Kryukov

      C 1 Reply Last reply
      0
      • C Chris Maunder

        We'll check this out. While annoying, pretty much no one would have seen that article before the great reveal. But seriously: when are you going to build it? ;)

        cheers Chris Maunder

        P Offline
        P Offline
        Peter_in_2780
        wrote on last edited by
        #6

        I just did some simple experiments. If I am logged on, I am UTC+11, as expected. (back to +10 in a couple of days!) If I log out, all the timestamps I looked at seem to place me somewhere mid-Pacific, UTC-10. I'm guessing that's where SAK seems to be if he logs out too. Cheers, Peter

        Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

        S 1 Reply Last reply
        0
        • P Peter_in_2780

          I just did some simple experiments. If I am logged on, I am UTC+11, as expected. (back to +10 in a couple of days!) If I log out, all the timestamps I looked at seem to place me somewhere mid-Pacific, UTC-10. I'm guessing that's where SAK seems to be if he logs out too. Cheers, Peter

          Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

          S Offline
          S Offline
          Sergey Alexandrovich Kryukov
          wrote on last edited by
          #7

          Peter, Thank you for experimenting with this. Could you do the same thing: look at this article and look at the publication date. Then log off and look at the date again. Will you tell me what you see? Apparently, the publication date is just the date of some event. Once defined, it cannot depend on the time anymore. Let's say, you have a time zone of an author or a time zone of some publishing house. Any of these time zones can affect the effective publication date, but this date, when defined, cannot depend on the point of view, right? Thank you.

          —SA

          Sergey A Kryukov

          P 1 Reply Last reply
          0
          • S Sergey Alexandrovich Kryukov

            Peter, Thank you for experimenting with this. Could you do the same thing: look at this article and look at the publication date. Then log off and look at the date again. Will you tell me what you see? Apparently, the publication date is just the date of some event. Once defined, it cannot depend on the time anymore. Let's say, you have a time zone of an author or a time zone of some publishing house. Any of these time zones can affect the effective publication date, but this date, when defined, cannot depend on the point of view, right? Thank you.

            —SA

            Sergey A Kryukov

            P Offline
            P Offline
            Peter_in_2780
            wrote on last edited by
            #8

            Logged in, I see it dated 1 April. Logged out, 31 March. My guess is that it is a timestamp (e.g. Unix date() ), displayed with a date-only format. So if the timestamp were say, 2021-04-01T0100Z (1.00 am, April 1, UTC) that would show as 1 April in my timezone, but 31 March in, say, the USA. As I noted earlier, it seems that users not logged in are assumed to be somewhere like UTC-10. Cheers. Peter

            Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

            S 1 Reply Last reply
            0
            • P Peter_in_2780

              Logged in, I see it dated 1 April. Logged out, 31 March. My guess is that it is a timestamp (e.g. Unix date() ), displayed with a date-only format. So if the timestamp were say, 2021-04-01T0100Z (1.00 am, April 1, UTC) that would show as 1 April in my timezone, but 31 March in, say, the USA. As I noted earlier, it seems that users not logged in are assumed to be somewhere like UTC-10. Cheers. Peter

              Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

              S Offline
              S Offline
              Sergey Alexandrovich Kryukov
              wrote on last edited by
              #9

              Thank you very much, but I don't think it explains the problem or the logic of the implementation. The reader's time zone has nothing to do with the date (time, for that matter) of the publication. A publication is done only in one time zone, one or another, but only one. Thank you again.

              —SA

              Sergey A Kryukov

              1 Reply Last reply
              0
              • S Sergey Alexandrovich Kryukov

                Thank you for offering me that backdoor. But what I've reported is looks just like a bug. [EDIT] Could you tell me what date do you see on this article, and what do you see if you log off?

                —SA

                Sergey A Kryukov

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #10

                When I'm signed in the system knows my time zone and so I see Apr 1. When I'm not signed in it doesn't, and so the time is off by 5hrs and I see Mar 31.

                cheers Chris Maunder

                S 1 Reply Last reply
                0
                • C Chris Maunder

                  When I'm signed in the system knows my time zone and so I see Apr 1. When I'm not signed in it doesn't, and so the time is off by 5hrs and I see Mar 31.

                  cheers Chris Maunder

                  S Offline
                  S Offline
                  Sergey Alexandrovich Kryukov
                  wrote on last edited by
                  #11

                  Thank you for the answer, Chris. So you confirm that, with your account, you see the same that I can see with mine. Obviously, the publication date should be the property of the publication, cannot depend on the properties of a reader. Agree? Thank you.

                  —SA

                  Sergey A Kryukov

                  C 1 Reply Last reply
                  0
                  • S Sergey Alexandrovich Kryukov

                    Thank you for the answer, Chris. So you confirm that, with your account, you see the same that I can see with mine. Obviously, the publication date should be the property of the publication, cannot depend on the properties of a reader. Agree? Thank you.

                    —SA

                    Sergey A Kryukov

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #12

                    Yes, the publication date is owned by the content item, but it's displayed in the user's local time. Time is relative...

                    cheers Chris Maunder

                    S 1 Reply Last reply
                    0
                    • C Chris Maunder

                      Yes, the publication date is owned by the content item, but it's displayed in the user's local time. Time is relative...

                      cheers Chris Maunder

                      S Offline
                      S Offline
                      Sergey Alexandrovich Kryukov
                      wrote on last edited by
                      #13

                      Chris, If you think a bit, you will agree with me. The publication is not a state of a document, it is its attribute characterized by some event in the past. Once defined, it should remain the same for all users. Otherwise, we would have individual dates for the moment of time when Brutus killed Cesar because it was really different in different parts of the globe. We don't even know what were the time zones at that time. But people don't think this way. They record the event only by one watch, the Rome watch, and the watch existed at that time and that place. Well, okay, but at least can we return back to your words about the magic power you've mentioned. Is it possible to set the date ad-hoc to appear the same for all users? By the way, it's still a bug: when I log off, my time zone doesn't change, for it should be April 1st in my zone, but it shows March 31. How about it?

                      —SA

                      Sergey A Kryukov

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups