After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 662027 - "Insert Date and Time" doesn't work correctly
"Insert Date and Time" doesn't work correctly
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-17 19:29 UTC by Pedro Villavicencio
Modified: 2019-03-23 20:49 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2


Attachments
Date and time patch (707 bytes, patch)
2011-10-19 07:15 UTC, Adam
committed Details | Review

Description Pedro Villavicencio 2011-10-17 19:29:17 UTC
this report has been filed here:

https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/840765

"Step to repro:
1. launch gedit
2. select Edit > Insert Date and Time

then, 2 spaces are inserted but there are no Date and Time."
Comment 1 Adam 2011-10-18 20:01:58 UTC
This issue happens because in source ("plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.in") file, default value for "selected-format" key is set to:
<default>''</default>

Solution:
Set default value in "selected-format" key to
<default>'%c'</default>
Comment 2 Ignacio Casal Quinteiro (nacho) 2011-10-18 22:22:05 UTC
Can you please provide a format-patch to apply?
Comment 3 Adam 2011-10-19 07:15:41 UTC
Created attachment 199400 [details] [review]
Date and time patch

I do this for the first time so double check if everything is OK.
Comment 4 Ignacio Casal Quinteiro (nacho) 2011-10-19 08:13:56 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.