Skip to content

Commit

Permalink
Finish ISO 8601 folder name.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesroelli committed Oct 25, 2016
1 parent ebb5c94 commit dfa1aa2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions org-board.el
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,13 @@ added as a link in the :ARCHIVED_AT: property."
(options
(org-board-options-handler
(org-entry-get-multivalued-property (point) "WGET_OPTIONS")))
(timestamp (format-time-string "%Y-%m-%d-%a-%H-%M-%S"
(current-time)))
(timestamp
(cond ((eq org-board-archive-date-format 'hyphenate)
(format-time-string "%Y-%m-%d-%a-%H-%M-%S"
(current-time)))
((or (eq org-board-archive-date-format 'iso-8601) t)
(format-time-string "%FT%TZ")
)))
(output-directory (concat (file-name-as-directory attach-directory)
(file-name-as-directory timestamp)))
(org-id-token (org-id-get))
Expand Down

0 comments on commit dfa1aa2

Please sign in to comment.