[system-administrators-guide/21] Added quotes to `timedatectl` invocation with both time and date.

stephenw stephenw at fedoraproject.org
Wed Mar 4 08:28:47 UTC 2015


commit 815e7bfd4ad22687f9e34eab0b116977567ba0ea
Author: Pete Travis <immanetize at fedoraproject.org>
Date:   Wed Dec 10 22:04:44 2014 -0700

    Added quotes to `timedatectl` invocation with both time and date.
    
    Thanks to @Cygniapolis for reporting via
    https://ask.fedoraproject.org/en/question/59289

 en-US/Configuring_the_Date_and_Time.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/en-US/Configuring_the_Date_and_Time.xml b/en-US/Configuring_the_Date_and_Time.xml
index 580877b..bd13810 100644
--- a/en-US/Configuring_the_Date_and_Time.xml
+++ b/en-US/Configuring_the_Date_and_Time.xml
@@ -105,7 +105,7 @@ NTP synchronized: no
         <para>
           To change the current date to 2 June 2013 and keep the current time (11:26 p.m.), run the following command as <systemitem class="username">root</systemitem>:
         </para>
-<screen>~]#&nbsp;<command>timedatectl set-time 2013-06-02 23:26:00</command></screen>
+<screen>~]#&nbsp;<command>timedatectl set-time "2013-06-02 23:26:00"</command></screen>
       </example>
     </section>
     <section id="sect-Configuring_the_Date_and_Time-timedatectl-Time_Zone">


More information about the docs-commits mailing list