emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Burdick <bill.burdick@gmail.com>
To: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: How to make weeks start from Sunday and be numbered from a custom date
Date: Sun, 23 Aug 2015 19:12:23 +0000	[thread overview]
Message-ID: <CAP6X8DgYpp2ARcTK-psqW+=9BF0G_TSDwOM6JXyyqm0wR9NkCg@mail.gmail.com> (raw)
In-Reply-To: <87egit6fvh.fsf@pierrot.dokosmarshall.org>

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

Have you tried customizing org-agenda-format-date with a function?  Here's
the doc string:

"Format string for displaying dates in the agenda.
Used by the daily/weekly agenda and by the timeline.  This should be
a format string understood by `format-time-string', or a function returning
the formatted date as a string.  The function must take a single argument,
a calendar-style date list like (month day year)."

If you're mostly concerned about displaying dates, rather than reading them
in, that might do the trick.


-- Bill

On Sun, Aug 23, 2015 at 9:04 PM Nick Dokos <ndokos@gmail.com> wrote:

> Meir Goldenberg <mgoldenbe@gmail.com> writes:
>
> > Two questions:
> >
> > 1. My work week starts on Sunday, so I have:
> >
> > (setq org-agenda-start-on-weekday 0)
> >
> > Now the agenda timeline starts on Sunday as desired. However, it says on
> top "Week agenda (W34-W35)", i.e. it still thinks that the week starts on
> Monday. Can I change that?
> >
> > 2. It would be very useful for me if the weeks were numbered from the
> week when my big work project started. Can I have the week numbering
> customized to have W01 on a certain date?
> >
>
> I believe the answer is "no" to both questions: these are ISO week
> numbers and org depends on calendar functions to calculate them.
>
> --
> Nick
>
>
>

[-- Attachment #2: Type: text/html, Size: 1879 bytes --]

  reply	other threads:[~2015-08-23 19:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-23 15:10 How to make weeks start from Sunday and be numbered from a custom date Meir Goldenberg
2015-08-23 18:04 ` Nick Dokos
2015-08-23 19:12   ` Bill Burdick [this message]
2015-08-26 16:37     ` Meir Goldenberg

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='CAP6X8DgYpp2ARcTK-psqW+=9BF0G_TSDwOM6JXyyqm0wR9NkCg@mail.gmail.com' \
    --to=bill.burdick@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@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).