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 309402 - 'Insert Time' should offer some more formats used in HTML
'Insert Time' should offer some more formats used in HTML
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: application
1.0.2
Other All
: Normal enhancement
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-07-03 22:07 UTC by Daniel Leidert
Modified: 2005-10-25 15:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A proposal for the new format addditions. (2.72 KB, patch)
2005-07-03 22:14 UTC, Daniel Leidert
none Details | Review

Description Daniel Leidert 2005-07-03 22:07:59 UTC
It was requested to add some the ISO 8601 date/time format to the 'TInsert Time'
dialog. The original request was made at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185158. I suggest two new formats:

(1) ISO 8601 used by the "date" meta tag, e.g.

<meta name="date" content="2003-03-17T11:47:53-0300">

that's strftime() with "%Y-%m-%dT%H:%M:%S%z" (see also date --iso-8601=seconds)

(2) RFC 822/850/2616 used for the "expires" meta tag e.g.

<meta http-equiv="expires" content="Sat, 01 Dec 2001 00:00:00 GMT">

that's strftime() with "%a, %d %b %Y %H:%M:%S %Z" in GMT, so we need to temp.
use gmtime().

Probably we could add an automatic update of the date meta-tag (e.g. during save
action), as we update the authors meta tag.
Comment 1 Daniel Leidert 2005-07-03 22:14:21 UTC
Created attachment 48602 [details] [review]
A proposal for the new format addditions.

That's a proposal to fix the base feature request. The patch would add the
requested time/date formats to the dialog.
Comment 2 Olivier Sessink 2005-08-07 21:13:59 UTC
is this in CVS already Daniel? then we can close it
Comment 3 Daniel Leidert 2005-08-12 14:34:53 UTC
It is now part of the 1_0 branch, but not competely implemented in the
development branch. The feature to provide a dialog for the Expires meta tag
would need the implementation of a calendar. So this bug should still stay open.
Comment 4 Daniel Leidert 2005-10-25 15:36:07 UTC
Implementation is done for both stable and cvs. I will ignore a possible
enhancement or implementation for the expires meta tag at the moment. This is
really minor. So closing this bug now.