Sort by modified is incorrect

66 views
Skip to first unread message

Vynce

unread,
Apr 4, 2012, 12:53:56 AM4/4/12
to plai...@googlegroups.com
I have a bunch of text files (with the .md extension, but that shouldn't matter) which show the correct modification time in OS X and in the Dropbox web interface, but they don't sort in the correct modification order in PlainText 1.6. I've tried unlinking and relinking my Dropbox account and I've tried playing with the sort order. Any idea what the problem could be? What modification timestamp is PlainText sorting by?
Message has been deleted

Vynce

unread,
Apr 23, 2012, 10:17:05 PM4/23/12
to plai...@googlegroups.com
Any idea about why my notes are sorted incorrectly?

Grey Burkart

unread,
Apr 27, 2012, 1:59:35 PM4/27/12
to plai...@googlegroups.com
Sorry, no idea on this. Creation dates get reset when a file comes into iOS (it doesn't track by creation date metadata) but the modification dates aren't handled any differently by iOS. Are the files just sorting themselves by filename or anything else? If you export your files to your desktop using iOS File Sharing via iTunes.app, what do their mod dates say?
--
You received this message because you are subscribed to the Google Groups "PlainText" group.
To view this discussion on the web visit https://groups.google.com/d/msg/plaintext/-/Z24vB27YsNMJ.
To post to this group, send email to plai...@googlegroups.com.
To unsubscribe from this group, send email to plaintext+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/plaintext?hl=en.

Grey Burkart

unread,
Apr 27, 2012, 2:01:46 PM4/27/12
to plai...@googlegroups.com
Hmm, here's a quick thought… do you happen to know what encoding your *.md files were in before sync? PlainText only uses UTF-8, so the process of getting them in and re-encoded into UTF-8 from another (UTF-16, Mac Roman, etc, when opened, I think) might have qualified as the phantom modification. Not 100% sure on this, just a wild theory.

Vynce

unread,
Apr 28, 2012, 6:13:22 PM4/28/12
to plai...@googlegroups.com
Thanks for getting back to me. All of my notes are UTF-8 encoded and were created with nvALT. It looks like the modification timestamps are being set to the current time when I link PlainText to my Dropbox account.
  1. mkdir ~/Dropbox/NotesTest
  2. touch -amt 201001012000 ~/Dropbox/NotesTest/Note1.txt
  3. touch -amt 201101012000 ~/Dropbox/NotesTest/Note2.txt
  4. touch -amt 201201012000 ~/Dropbox/NotesTest/Note3.txt
  5. Link PlainText to Dropbox/NotesTest folder.
  6. Modified timestamps get set to the current time.
I've attached three screenshots showing the modified timestamps on my Mac, in Dropbox, and in the File Sharing section of iTunes after linking PlainText with my Dropbox account. If I subsequently edit Note1.txt, the new modification time gets synced correctly to Dropbox and then through to PlainText. So it's just the initial import that isn't working correctly.
mac.png
dropbox.png
itunes.png

Vynce

unread,
May 14, 2012, 10:12:03 PM5/14/12
to plai...@googlegroups.com
Can I provide any other debugging info?
Reply all
Reply to author
Forward
0 new messages