加入日期/時間增效模組
The Insert Date/Time plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps:
-
請選擇
。If you have not configured the Insert Date/Time plugin to automatically insert the date/time without prompting you for the format, gedit displays the Insert Date and Time dialog. Select the appropriate date/time format from the list. Click to close the Insert Date and Time dialog. gedit inserts the date/time at the cursor position in the current file.
If you have configured gedit to use one particular date/time format, the Insert Date and Time dialog is not displayed. The date/time is automatically entered at the cursor position in the current file.
10.7.1. Configuring the Insert Date/Time Plugin
如果要配置加入日期及時間增效模組,請執行下列步驟:
-
請選擇
。 -
Select the Plugins tab.
-
選取 加入日期及時間增效模組。
-
Click Configure insert date/time plugin dialog.
to display the -
選取下列任一選項:您可以選擇下列條件中的一項或以上:
- 如果要在每次加入日期/時間時指定日期/時間格式,請選取提示指定格式選項。
- 如果要在每次加入日期/時間時都使用 gedit 提供的日期/時間格式,請選取使用選取的格式選項,然後從清單中選取適當的格式。當您選取這個選項後,gedit 並不會在您選擇 時,提示您設定日期/時間的格式。
- To use the same customized date/time format each time you insert the date/time, select the Use custom format option, then enter the appropriate format in the text box. For more information about how to specify a custom format, see strftime(3). When you select this option, gedit does not prompt you for the date/time format when you choose .
-
Click Configure insert date/time plugin dialog.
to close the -
如果要關閉偏好設定對話方塊,請按一下 。