[TIMOB-1403] iOS: createTimestamp() and modificationTimestamp() returning "1"
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2012-07-25T11:32:55.000+0000 |
| Affected Version/s | Release 1.6.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Joe Maffia |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T02:51:19.000+0000 |
| Updated | 2012-07-26T22:27:35.000+0000 |
Description
As per Q&A http://developer.appcelerator.com/question/44101/getting-the-timestamp-of-a-local-file---titaniumfilesystemfilecreatetimestamp"> http://developer.appcelerator.com/question/44101/getting-the-timest...
this still happening in 1.4.0
(iPhone at least)
Thanks guys.
Any quick patch for it?
I'd like to use this to do some cache of XMLHttpRequest, otherwise I may run in API limit...
Cheers.
Looks like an iPhone issue.
Unable to reproduce SDK 2.2.0.f9e938d, iPhone Sim 5.1. Sample code:
var file = Ti.Filesystem.getFile('images/chat.png'); Ti.API.info(file.createTimestamp());