From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Help with migrating blog to org-mode format Date: Tue, 11 Jan 2011 23:00:28 -0500 Message-ID: <877hea93fn.fsf@fastmail.fm> References: <87lj2telk0.fsf@playground.homesweet.home> <87k4ib8f64.fsf@fastmail.fm> <871v4ietmg.fsf@playground.homesweet.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40401 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pcrsv-0006DW-A6 for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 23:00:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pcrsu-0006cy-9I for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 23:00:33 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:50743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pcrsu-0006cs-7D for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 23:00:32 -0500 In-Reply-To: <871v4ietmg.fsf@playground.homesweet.home> (Myriam Abramson's message of "Tue, 11 Jan 2011 21:35:51 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Myriam Abramson Cc: emacs-orgmode@gnu.org Myriam Abramson writes: > Thanks! that's what I was looking for. > > myriam > > Matt Lundin 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