]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Fix datetime format for password entries
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 11 Apr 2024 16:54:23 +0000 (18:54 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 11 Apr 2024 16:54:23 +0000 (18:54 +0200)
In BIRD 1, we used DD-MM-YYYY, while in BIRD 2 we switched to the usual
format YYYY-MM-DD.

Thanks to Janne Pisilä for the bugreport.

doc/bird.sgml

index d0bfabdb47638f39ca8bf0e0198131dc2d71e7e3..87317e047fec66693c1cd6164ad19d1c4a73526f 100644 (file)
@@ -957,7 +957,7 @@ agreement").
 
        <tag><label id="proto-pass-gen-from">generate from "<m/time/"</tag>
        The start time of the usage of the password for packet signing.
-       The format of <cf><m/time/</cf> is <tt>dd-mm-yyyy HH:MM:SS</tt>.
+       The format of <cf><m/time/</cf> is <tt>YYYY-MM-DD [hh:mm:ss[.sss]]</tt>.
 
        <tag><label id="proto-pass-gen-to">generate to "<m/time/"</tag>
        The last time of the usage of the password for packet signing.
@@ -4811,14 +4811,14 @@ protocol ospf MyOSPF {
                        authentication cryptographic;
                        password "abc" {
                                id 1;
-                               generate to "22-04-2003 11:00:06";
-                               accept from "17-01-2001 12:01:05";
+                               generate to "2023-04-22 11:00:06";
+                               accept from "2021-01-17 12:01:05";
                                algorithm hmac sha384;
                        };
                        password "def" {
                                id 2;
-                               generate to "22-07-2005 17:03:21";
-                               accept from "22-02-2001 11:34:06";
+                               generate to "2025-07-22";
+                               accept from "2021-02-22";
                                algorithm hmac sha512;
                        };
                };