From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Uwe Siart <usenet@siart.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Update time stamps of different kind
Date: Wed, 15 Jul 2009 17:46:49 +0200 [thread overview]
Message-ID: <FD9FC416-A6E8-47CA-8DBA-D537D5738FB9@Web.DE> (raw)
In-Reply-To: <878wiq6n55.fsf@siart.de>
Am 15.07.2009 um 16:23 schrieb Uwe Siart:
> Is it also possible to instruct Emacs to update a line like
>
> <meta name="DC.date" content="2009-07-15" />
>
> (Dublin Core meta data in XHTML) in the same way?
I presume only the date of the content clause needs updates…
For this a variable exists which you can customise:
time-stamp-format is a variable defined in `time-stamp.el'.
Its value is
"%:y-%02m-%02d %02H:%02M:%02S %u"
This variable is safe as a file local variable if its value
satisfies the predicate `stringp'.
Making it a file local variable you can have as global setting
something else. For you "%:y-%02m-%02d" might be right! The time
stamp needs to be in the first few lines of a file.
--
Mit friedvollen Grüßen
Pete
Atheism is a non prophet organization.
next prev parent reply other threads:[~2009-07-15 15:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-15 14:23 Update time stamps of different kind Uwe Siart
2009-07-15 15:46 ` Peter Dyballa [this message]
[not found] ` <mailman.2561.1247672821.2239.help-gnu-emacs@gnu.org>
2009-07-15 16:35 ` Uwe Siart
2009-07-15 17:21 ` Drew Adams
2009-07-15 17:28 ` Peter Dyballa
[not found] ` <mailman.2572.1247678929.2239.help-gnu-emacs@gnu.org>
2009-07-15 17:44 ` Uwe Siart
2009-07-15 23:49 ` Peter Dyballa
[not found] ` <mailman.2596.1247701758.2239.help-gnu-emacs@gnu.org>
2009-07-16 5:06 ` Uwe Siart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FD9FC416-A6E8-47CA-8DBA-D537D5738FB9@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=usenet@siart.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.