Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. cdr trunk date scale

cdr trunk date scale

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 114 Views
  • 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.
  • A
    A
    AlexRS
    wrote on last edited by
    #1

    Hi! Is 'hour' scale wrong in asternic cdr? Today I get this (pic), but today is 01-23, not 01-24. Hour is correct.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hmm, not sure, I will have to review and do tests at different times of the day. What happens if you run the graph at 9 am vs 9 pm on the same day?

      1 Reply Last reply
      0
      • A
        A
        AlexRS
        wrote on last edited by
        #3

        Hi! But how I can choose hours? Its Asternic CDR, only 'day' period available. Check, please. The graph is drawing for tomorrow or further days always. Its 'Trunks' tab.

        1 Reply Last reply
        0
        • A
          A
          AlexRS
          wrote on last edited by
          #4

          I think, I found the root of the problem. Its timezone setting. If I set America/Argentina/Buenos_Aires in php.ini and UTC-3 on PC, all works fine. So, may be you had hardcoded timezone? Try to change timezone on you PC and php.ini and you will see the problem.

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #5

            Problem is timezone on the desktop computer and the way jqPlot (chart library), automatically corrects timestamps based on your browser timezone setting. I think I have a version that might fix that, by using absolute dates instead of unix timestamps for the x-axis.

            Contact me via live help and I can provide you with a link for you to test that modification.

            Best regards,

            1 Reply Last reply
            0
            • A
              A
              AlexRS
              wrote on last edited by
              #6

              The problem was solved. If somebody having problem like this, try to set date.timezone (php.ini) in Etc format.

              date.timezone = Etc/GMT-3
              
              1 Reply Last reply
              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
              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.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups