<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Time-zone bug in hour-of-day parsing or display"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1720">1720</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Time-zone bug in hour-of-day parsing or display
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.0.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aaron.dunlop@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Time-of-day rules overflow based on time zone.

E.g., in PDT (GMT - 7):

nft add rule test FORWARD ip saddr 192.168.2.100 meta hour "17:00-17:59” accept
nft list chain test FORWARD
...
        ip saddr 192.168.2.100 meta hour "23:28:16"-"00:27:16" accept

I've tested 1.0.2 and 1.0.8 (with OpenWrt 22.03 and 23.05)

I suspect this may be a formatting defect (display only, not affecting packet
matching), but I haven’t confirmed that yet.

Other cases noted in the discussion at
<a href="https://forum.openwrt.org/t/netfilter-time-of-day-behavior-after-17-00/176112">https://forum.openwrt.org/t/netfilter-time-of-day-behavior-after-17-00/176112</a>

Related: the wiki page indicates that seconds are optional (so the example
above omits them). If I add seconds, I get:

# nft add rule test FORWARD ip saddr 192.168.2.100 meta hour
"16:00:00-16:59:59" accept
Error: syntax error, unexpected colon, expecting end of file or newline or
semicolon
add rule test FORWARD ip saddr 192.168.2.100 meta hour 16:00:00-16:59:59 accept
                                                            ^</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>