e***@openmail.cc
2017-12-27 02:52:46 UTC
Hello,
I am trying this:
#+BEGIN_SRC org
,* TODO Pay the rent
:taskjuggler_project:
SCHEDULED: <2017-12-29 Fri 09:00> DEADLINE: <2017-12-29 Fri 11:00>
#+END_SRC
which gives me this:
#+BEGIN_EXAMPLE
repeat.tjp:13: Error: The end date (2017-12-29-00:00-+0000) must be
after the start date (2017-12-29-00:00-+0000).
#+END_EXAMPLE
I tried modifying ox-taskjuggler.el:
#+BEGIN_SRC diff
,*** org/ox-taskjuggler.el 2017-12-26 16:39:52.633050180 -0700
--- my/ox-taskjuggler.el 2017-12-26 19:42:17.921208465 -0700
,***************
,*** 478,484 ****
--- 478,490 ----
doesn't have any start date defined."
(let ((scheduled (org-element-property :scheduled item)))
(or
+ ;; How do I compile a regex to avoid locale day names?:
+ ;; "%Y-%02m-%02d [[:alpha:][:space:]]* %[RT]"
(and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d
%R"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d %a
%R"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d
%T"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d %a
%T"))
(and (memq 'start org-taskjuggler-valid-task-attributes)
(org-element-property :START item)))))
,***************
,*** 487,493 ****
ITEM is a headline. Return value is a string or nil if ITEM
doesn't have any end date defined."
(let ((deadline (org-element-property :deadline item)))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d"))))
--- 493,506 ----
ITEM is a headline. Return value is a string or nil if ITEM
doesn't have any end date defined."
(let ((deadline (org-element-property :deadline item)))
! ;; How do I compile a regex to avoid locale day names?:
! ;; "%Y-%02m-%02d [[:alpha:][:space:]]* %[RT]"
! (or
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d
%R"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d %a
%R"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d
%T"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d %a
%T")))))
#+END_SRC
but I got the same error. Is there a way to set starting and ending
times with a resolution of hours or minutes to be exported with
taskjuggler? Thanks!
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
I am trying this:
#+BEGIN_SRC org
,* TODO Pay the rent
:taskjuggler_project:
SCHEDULED: <2017-12-29 Fri 09:00> DEADLINE: <2017-12-29 Fri 11:00>
#+END_SRC
which gives me this:
#+BEGIN_EXAMPLE
repeat.tjp:13: Error: The end date (2017-12-29-00:00-+0000) must be
after the start date (2017-12-29-00:00-+0000).
#+END_EXAMPLE
I tried modifying ox-taskjuggler.el:
#+BEGIN_SRC diff
,*** org/ox-taskjuggler.el 2017-12-26 16:39:52.633050180 -0700
--- my/ox-taskjuggler.el 2017-12-26 19:42:17.921208465 -0700
,***************
,*** 478,484 ****
--- 478,490 ----
doesn't have any start date defined."
(let ((scheduled (org-element-property :scheduled item)))
(or
+ ;; How do I compile a regex to avoid locale day names?:
+ ;; "%Y-%02m-%02d [[:alpha:][:space:]]* %[RT]"
(and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d
%R"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d %a
%R"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d
%T"))
+ (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d %a
%T"))
(and (memq 'start org-taskjuggler-valid-task-attributes)
(org-element-property :START item)))))
,***************
,*** 487,493 ****
ITEM is a headline. Return value is a string or nil if ITEM
doesn't have any end date defined."
(let ((deadline (org-element-property :deadline item)))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d"))))
--- 493,506 ----
ITEM is a headline. Return value is a string or nil if ITEM
doesn't have any end date defined."
(let ((deadline (org-element-property :deadline item)))
! ;; How do I compile a regex to avoid locale day names?:
! ;; "%Y-%02m-%02d [[:alpha:][:space:]]* %[RT]"
! (or
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d
%R"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d %a
%R"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d
%T"))
! (and deadline (org-timestamp-format deadline "%Y-%02m-%02d %a
%T")))))
#+END_SRC
but I got the same error. Is there a way to set starting and ending
times with a resolution of hours or minutes to be exported with
taskjuggler? Thanks!
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!