New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date/time prompt issues #24

Open
potash opened this Issue Dec 7, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@potash

potash commented Dec 7, 2011

The following examples (from the org-mode manual) don't work:

  • names of months, e.g. 'jan 1', 'january 1', etc.
  • single hour times, e.g. '1:15pm' (as opposed to '01:15pm' which works)
@hsitz

This comment has been minimized.

Show comment
Hide comment
@hsitz

hsitz Dec 7, 2011

Owner

On Tue, Dec 6, 2011 at 8:39 PM, potash <
reply@reply.github.com

wrote:

The following examples (from the org-mode manual) don't work:

  • names of months, e.g. 'jan 1', 'january 1', etc.
  • single hour times, e.g. '1:15pm' (as opposed to '01:15pm' which works)

Thanks for reminding me on that. There are a few more designators than
those (e.g., anything referring to ISO weeks) that VimOrganizer doesn't
support.

I originally left them out since there are other ways to quickly designate
same dates (e.g., Jan 1 can be specified with 1/1 ) but I've been meaning
to go back and flesh those out. . .

They won't be part of major new version I'm pushing out this week, but
hopefully soon after.

-- Herb

Owner

hsitz commented Dec 7, 2011

On Tue, Dec 6, 2011 at 8:39 PM, potash <
reply@reply.github.com

wrote:

The following examples (from the org-mode manual) don't work:

  • names of months, e.g. 'jan 1', 'january 1', etc.
  • single hour times, e.g. '1:15pm' (as opposed to '01:15pm' which works)

Thanks for reminding me on that. There are a few more designators than
those (e.g., anything referring to ISO weeks) that VimOrganizer doesn't
support.

I originally left them out since there are other ways to quickly designate
same dates (e.g., Jan 1 can be specified with 1/1 ) but I've been meaning
to go back and flesh those out. . .

They won't be part of major new version I'm pushing out this week, but
hopefully soon after.

-- Herb

@hsitz

This comment has been minimized.

Show comment
Hide comment
@hsitz

hsitz Dec 7, 2011

Owner

I ended up adding support in date/time prompt for the examples you gave and will include them in next version.

Those examples were:

The following examples (from the org-mode manual) don't work:

  • names of months, e.g. 'jan 1', 'january 1', etc.
  • single hour times, e.g. '1:15pm' (as opposed to '01:15pm' which works)

Please note that prior to this point the entry of time above, '01:15pm' did _not_work. Well it worked, in that it left you with a time of 01:15, but it didn't do what you wanted becajuse VimOrganizer works with a 24 hour clock in all date/time designators. The 'pm' you added was simply ignored and a time of 01:15 was entered in the datespec instead of the proper '13:15', which corresponds to 01:15pm. This issue will be fixed also: you will be able to enter 1:15pm and it will be stored in the entered datespec as 13:15, e.g., <2011-12-07 Wed 13:15>

Thanks for pointing out these issues.

-- Herb

and specify

Owner

hsitz commented Dec 7, 2011

I ended up adding support in date/time prompt for the examples you gave and will include them in next version.

Those examples were:

The following examples (from the org-mode manual) don't work:

  • names of months, e.g. 'jan 1', 'january 1', etc.
  • single hour times, e.g. '1:15pm' (as opposed to '01:15pm' which works)

Please note that prior to this point the entry of time above, '01:15pm' did _not_work. Well it worked, in that it left you with a time of 01:15, but it didn't do what you wanted becajuse VimOrganizer works with a 24 hour clock in all date/time designators. The 'pm' you added was simply ignored and a time of 01:15 was entered in the datespec instead of the proper '13:15', which corresponds to 01:15pm. This issue will be fixed also: you will be able to enter 1:15pm and it will be stored in the entered datespec as 13:15, e.g., <2011-12-07 Wed 13:15>

Thanks for pointing out these issues.

-- Herb

and specify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment