• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Display time in 24 hours in host management

Scheduled Pinned Locked Moved
FOG Problems
3
7
2.1k
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.
  • H
    holzfisch
    last edited by Sep 23, 2014, 8:27 AM

    Is it possible to change display time to 24 hours:

    example: 23:12

    I have already changed

    date.timezone = Europe/Vienna

    in php.ini.

    So the time is correct.

    This is only wrong in host management. The list in task managment shows the time in 24 hour format.

    Thanks

    Michael

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by Sep 23, 2014, 11:20 AM

      what operating system did you install FOG on?

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • H
        holzfisch
        last edited by Sep 23, 2014, 11:33 AM

        ubuntu

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Sep 23, 2014, 11:37 AM

          If you upgrade to SVN, I’ve changed the formatting of the time settings to display hours, seconds, and minutes, months, days, years.

          It will not display the direct time of deployment. Hopefully this helps give a better understanding of When something occurred vs. What time something occurs. It’d be too much to try figuring out how best to represent the time variables as you’re seeing here.

          The DB stores the data in: YYYY-MM-DD HH:mm:ss mode. Meaning The hours are always stored in the DB as 24 hour format. So depending on how it’s to be displayed it may show the DB value or a “neatly” formatted time setting.

          There’s too many variables to figure out. So I’ve simplified it so it just displays the round about timing it last ran. VS trying to guess how people are going to want to view their times.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • J
            Jaymes Driver Developer
            last edited by Sep 23, 2014, 11:50 AM

            [quote=“holzfisch, post: 36898, member: 26225”]ubuntu[/quote]

            what version -.-

            You may also try Tom’s suggestions above.

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • H
              holzfisch
              last edited by Sep 23, 2014, 12:15 PM

              fogversion 1.20
              Ubuntu 14.04 LTS

              [url]http://pastebin.com/WE0id9kf[/url] (error.log)

              [url]http://pastebin.com/SGZUgXLt[/url] (foginstall.log)

              Already checked wiki and forum.

              thanks

              michael

              1 Reply Last reply Reply Quote 0
              • J
                Jaymes Driver Developer
                last edited by Sep 23, 2014, 6:43 PM

                you may try editing the settings in [code]/etc/php5/cli/php.ini[/code]

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  4/7
                  Last post

                229

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project