We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51643b commit 05b3d85Copy full SHA for 05b3d85
1 file changed
initrd/bin/change-time.sh
@@ -3,9 +3,11 @@
3
4
clear
5
6
-echo -e -n "Please enter the current date and time in UTC\n"
7
-echo -e -n "To find the current date and time in UTC, please check https://time.is/UTC\n\n"
8
-
+echo "The system time is: $(date "+%Y-%m-%d %H:%M:%S %Z")"
+echo
+echo "Please enter the current date and time in UTC"
9
+echo "To find the current date and time in UTC, please check https://time.is/UTC"
10
11
12
get_date () {
13
local field_name min max
@@ -63,7 +65,7 @@ while ! enter_time_and_change; do
63
65
done
64
66
67
hwclock -w
-echo "The system date has been sucessfully set to $year-$month-$day $hour:$min:$sec"
68
+echo "The system date has been sucessfully set to $year-$month-$day $hour:$min:$sec UTC"
69
echo
70
71
echo "Press Enter to return to the menu"
0 commit comments