Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Special sort

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 470 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.
    • 8
      85
      last edited by 85

      wrongsort.JPG

      What kind of sort is that shown in the attached picture, under Status/System Logs/System/DNS Resover -> Time?

      H 1 Reply Last reply Reply Quote 0
      • H
        heper @85
        last edited by heper

        @85
        microsoft has been sorting things like that on their various programs/websites for decades.

        this is the way

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          It's just a basic string sort on the column. I don't think that JS sortable code is smart enough to parse the dates there and sort it like a date.

          If it bugs you, go to Status > System Logs, Settings tab and change the Log Message Format to RFC 5424.

          That uses ISO date style timestamps that naturally string sort.

          2023-01-16 14:42:44.988784-05:00 	unbound 	65443 	[65443:0] info: start of service (unbound 1.17.1).
          2023-01-17 08:00:45.787897-05:00 	unbound 	65443 	[65443:0] info: service stopped (unbound 1.17.1). 
          

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.