Comments (4)
Addendum, some scanning through the org_archive file that was generated and I've found cases where what I think are similarly named files result in different format org entries:
** <2012-12-05 Wed> 2012-12-05-bashhistory_fafnir
:PROPERTIES:
:ID: af77fd3c467e3050ddd0c29e3353209cdeabe4b2
:END:
** <2012-12-06 Thu 11:32:47> 2012-12-06-bashhistory_warsaw
:PROPERTIES:
:ID: 37b0a94ced56ecf6a036bd9173646804a7aa92a5
:END:
from memacs.
You just found the undocumented feature that time information is extracted from the file itself.
I have just added a new argument "--skip-file-time-extraction" to avoid that.
regards Armin
from memacs.
To be completely specific and as an addendum to the comment of awieser:
The module looks for the timestamp of the corresponding file (mtime). If its day matches the datestamp of the file name, the time (of mtime) is used for generating the full time stamp in the resulting Org-mode file. If the days do not match, the resuling Org-mode file contains only a date stamp (not a time stamp).
So:
- matching mtime and date stamp of file name -> full time stamp in Org
- days not matching (mtime and date stamp of file name) -> date stamp in Org
As awieser wrote: you can now disable this using the --skip-file-time-extraction parameter.
HTH
from memacs.
Thanks guys, just what I was after (and the explanation was as I expected). One step closer to org-mode taking over the universe...
from memacs.
Related Issues (20)
- Difference to Orger + plans for a Hypothesis module HOT 1
- memacs_firefox output does not include url title HOT 7
- Updating to Python 3.9 results in 'HTMLParser' object has no attribute 'unescape' error HOT 4
- memacs/ical fails to parse valid iCalendar files & generally mishandles timezones HOT 1
- memacs_filenametimestamps exclude multiple directories not working HOT 1
- Can't parse timestamp HOT 1
- suggest: screencast examples HOT 5
- memacs_csv: help parameter is not working HOT 3
- implement sub-packages to install only selected module dependencies HOT 6
- suggest revision installation via pip, provision of test/reference data HOT 2
- a few links in `README.org` are dysfunctional HOT 1
- suggest: extension of general README.org (though pending revision) HOT 1
- Project dependencies may have API risk issues HOT 1
- redirecting Memacs std output to file causes broken Orgdown format (instead of using -o parameter) HOT 8
- Add optional parameter for body text
- Feature Request: Matrix Module HOT 1
- --add-to-time-stamps doesn't work at least with filenametimestamp module
- AttributeError: type object 'OrgFormat' has no attribute 'datetime' - after ubuntu update HOT 3
- kodi: probable issue with content of row (OrderedDict) HOT 3
- filenametimestamps exclusion not working if excluded directory contains "bad files" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memacs.