emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Myriam Abramson <mabramson@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Help with migrating blog to org-mode format
Date: Tue, 11 Jan 2011 23:00:28 -0500	[thread overview]
Message-ID: <877hea93fn.fsf@fastmail.fm> (raw)
In-Reply-To: <871v4ietmg.fsf@playground.homesweet.home> (Myriam Abramson's message of "Tue, 11 Jan 2011 21:35:51 -0500")

Myriam Abramson <mabramson@gmail.com> writes:

> Thanks! that's what I was looking for. 
>
>                                    myriam
>
> Matt Lundin <mdl@imapmail.org> writes:
>>
>> (format-time-string "CLOSED: [%Y-%m-%d %H:%M]" (date-to-time "2003-10-22T18:27:00.000-04:00"))
>>
>> ...which returns...
>>
>> CLOSED: [2003-10-22 14:27]
>>
>> (The time zone parsing may need some adjustment.)

Oops. I forgot the day of week.

--8<---------------cut here---------------start------------->8---
(format-time-string "CLOSED: [%Y-%m-%d %a %H:%M]"
		    (date-to-time "2003-10-22T18:27:00.000-04:00"))
--8<---------------cut here---------------end--------------->8---

CLOSED: [2003-10-22 Wed 14:27]

Best,
Matt

      reply	other threads:[~2011-01-12  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09 22:53 Help with migrating blog to org-mode format Myriam Abramson
2011-01-10 14:03 ` Ian Barton
2011-01-10 16:33 ` Erik Iverson
2011-01-11 18:32 ` Matt Lundin
2011-01-12  2:35   ` Myriam Abramson
2011-01-12  4:00     ` Matt Lundin [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hea93fn.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mabramson@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).