mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Adding scriptable date fomat to the build.
This commit is contained in:
parent
a2519a14d6
commit
20e2ca8242
@ -24,6 +24,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
MODULE = locale
|
||||
|
||||
XPIDLSRCS = nsILocale.idl \
|
||||
nsIScriptableDateFormat.idl \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
|
@ -23,6 +23,7 @@ DEPTH=..\..\..
|
||||
|
||||
XPIDLSRCS = \
|
||||
.\nsILocale.idl \
|
||||
.\nsIScriptableDateFormat.idl \
|
||||
$(NULL)
|
||||
|
||||
|
||||
|
@ -58,7 +58,7 @@ class nsScriptableDateFormat : public nsIScriptableDateFormat {
|
||||
PRInt32 second,
|
||||
const PRUnichar **timeString)
|
||||
{return FormatDateTime(locale, kDateFormatNone, timeFormatSelector,
|
||||
0, 0, 1, hour, minute, second, timeString);}
|
||||
1999, 1, 1, hour, minute, second, timeString);}
|
||||
|
||||
nsScriptableDateFormat() {NS_INIT_REFCNT();}
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user