Closed
Bug 12368
Opened 25 years ago
Closed 25 years ago
[feature] NSIFile need support to set/get calendar time
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
VERIFIED
FIXED
M11
People
(Reporter: cathleennscp, Assigned: samir_bugzilla)
References
Details
Attachments
(1 file)
need support in nsFileSpec to set and get calendar time from a file. make sure this is a public api, so that we can get internal access.
Updated•25 years ago
|
Target Milestone: M13
Comment 1•25 years ago
|
||
setting milestone to m13
Comment 2•25 years ago
|
||
getting some bugs off the m13 milestone
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall Engine
Updated•25 years ago
|
Component: Installer: XPInstall Engine → XPCOM
Summary: nsFileSpec: need support to set/get calendar time → RFE NSIFile need support to set/get calendar time
Target Milestone: M14 → M19
Comment 4•25 years ago
|
||
nsIFile now uses milliseconds from 1970. This should be *good enought*. There should be an scriptable interface which will convert from a human readable string to a 1970 offset (trival). Marking this bug as fixed. Feel free to open a new bug on this conversion service and assign it to me, if you so desire.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Build: 2000-03-22-06-M15-nb1b(WIN) This is not working for me. Samir helped me verify. We can't seem to get past the following: file = Components.classes["component://mozilla/file/local"].createInstance(nsILocalFile ); Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•25 years ago
|
||
And SetLastModificationDate isn't implemented in nsLocalFileMac so it's broken there too. Working on a Mac impl and have a fixed Win32 impl in my local tree.
Comment 7•25 years ago
|
||
assigning to samir. samir, give me a call if you can not get createInstance to work. I highly doubt that: file = Components.classes["component://mozilla/file/local"].createInstance(nsILocalFile );
Assignee: dougt → sgehani
Status: REOPENED → NEW
Summary: RFE NSIFile need support to set/get calendar time → [feature] NSIFile need support to set/get calendar time
Target Milestone: M19 → M11
Comment 8•25 years ago
|
||
you must use xpcshell to verify this.
Assignee | ||
Comment 9•25 years ago
|
||
Fixed horkage on Win32 and Unix. Implemented Mac. Verify this by verifying 5107.
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 10•25 years ago
|
||
Build: 2000-04-07-09-M15(WIN), 2000-04-07-08-M15(MAC), 2000-04-07-08-M15(LINUX) Bug 5107 has been Verified. Marking this one Verified.
Status: RESOLVED → VERIFIED
Comment 11•2 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•