Permalink
Browse files

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.
  • Loading branch information...
asherkin committed Oct 11, 2018
1 parent e27e75b commit 74195870e2cf28922d34d6af92f22d30509f96b0
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/include/sourcemod.inc
@@ -325,6 +325,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.

0 comments on commit 7419587

Please sign in to comment.