Add a note about FormatTime platform dependence (#908)

This has been another constant source of confusion since the C99 ones were added to the strftime documentation we link.

It'd be nice to have a consistent implementation inside SM in the future.
This commit is contained in:
Asher Baker 2018-10-11 11:07:07 +01:00 committed by GitHub
parent a1271ec3a8
commit b5320a4f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,6 +335,10 @@ native int GetTime(int bigStamp[2]={0,0});
*
* See this URL for valid parameters:
* http://cplusplus.com/reference/clibrary/ctime/strftime.html
*
* Note that available parameters depends on support from your operating system.
* In particular, ones highlighted in yellow on that page are not currently
* available on Windows and should be avoided for portable plugins.
*
* @param buffer Destination string buffer.
* @param maxlength Maximum length of output string buffer.