Day One for Mac can import text from a Momento export file.
To import in Day One for Mac:
- Export from Momento following these instructions. Ensure that you choose to export your data as a single file in the Momento export options.
- Each entry in your Momento .txt file needs to have a date preceding it in this format: Date: June 24, 2016 at 10:59:06 AM MDT (with your respective information).
- Make sure you have unzipped the file on your computer according to the instructions on the Momento site. You should have a file named something like 2012.08.24 - Momento Export.txt
- Open Day One for Mac
- Select Import... from the File menu
- Select the Momento export file
- Select Momento (.txt) from the drop down menu at the bottom of the Open File panel.
- Click Open
- Review the entries to be imported in the preview window
- Click the Import button.
If you are getting an error when trying to import a Momento export file, please read the following troubleshooting items.
Momento import may not work. “Unable to import file” “the file did not contain a date for the entry.”
- Status: We have logged this as an issue and working to improve the import for Momento’s updated export format.
- Workaround: Manually adjust the Momento export file to have the date in this format preceding each entry: “Date: June 24, 2016 at 10:59:06 AM MDT”
Update: The solution is to change the Region Settings on the Mac also to English.
When Momento exports the text file it uses the Region Format configured in Settings. The Region Format determines the way that time strings are output in the resulting export file. The export format used by Momento prevents us from reliably detecting all possible formats. Currently we support timestamps in 12-hour English form (e.g. 11:30 PM) and starting in v1.7.2 we will also support 24-hour form (e.g. 23:30).
If your Region Format results in a different timestamp (for example, the Chinese Region Format outputs 下午11:30), the import will fail. To work around this problem, change your Region Format in Settings (Settings > General > International > Region Format) temporarily to United States before exporting the file from Momento. After exporting, you can change it back.
Momento sometimes creates its export file using a mix of DOS-style and UNIX-style line endings. Day One v1.7.2 and earlier only support DOS-style line endings for Momento imports (this has been fixed for later versions).
In the meantime, you can work around this by making all of the line endings in the Momento export file DOS-style.
Convert line endings to DOS-style
We'll first assume that we've unzipped the Momento export file to our Desktop, so we have this file:
~/Desktop/Momento\ Export\ 2012.11.28\ at\ 14.47.39/2012.11.28\ -\ Momento\ Export.txt
- Open Terminal app (Applications > Utilities > Terminal)
- Change to the directory containing your Momento text export filecd ~/Desktop/Momento\ Export\ 2012.11.28\ at\ 14.47.39
- Change the line endingsperl -pe 's/\r\n|\n|\r/\r\n/g' 2012.11.28\ -\ Momento\ Export.txt > Fixed\ Export.txt
This will create a file called
Fixed Export.txt in the same directory. Import this file into Day One.