Closed Bug 12368 Opened 27 years ago Closed 26 years ago

[feature] NSIFile need support to set/get calendar time

Categories

(Core :: XPCOM, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cathleennscp, Assigned: samir_bugzilla)

References

Details

Attachments

(1 external 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.
Blocks: 5107
Target Milestone: M13
setting milestone to m13
getting some bugs off the m13 milestone
Depends on: 13320
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall Engine
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
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: 26 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 → ---
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.
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
you must use xpcshell to verify this.
Fixed horkage on Win32 and Unix. Implemented Mac. Verify this by verifying 5107.
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
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
Attached file GitHub Pull Request —
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: