Juergen Spitzmueller wrote:
>>It looks like strftime will "just work" on Windows too.
>>http://msdn.microsoft.com/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp

> Cool (you could verify with m-x date-insert).

I'm not going to try and compile LyX 1.4.x on Windows using g++ ATM.
Last time I tried, linking failed after over 1 hour as I ran out of
1.5GB of virtual memory...

(Side issue, I do have the free-as-beer MSVC compiler on my Windows
box and am trying to get a tool chain using it up and running. As and
when...)

However, I will try out a small test program for you along the lines
of the the thing I posted in response to John's suggestion:

namespace lyx {
    /** Returns a locale-dependent formatting of the date
     *  and time encoded in @c time.
     */
    std::string const formatted_time(time_type time);
}

-- 
Angus

Reply via email to