From 74195870e2cf28922d34d6af92f22d30509f96b0 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Thu, 11 Oct 2018 11:07:07 +0100 Subject: [PATCH] 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. --- plugins/include/sourcemod.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/include/sourcemod.inc b/plugins/include/sourcemod.inc index 3b188630..9f647c61 100644 --- a/plugins/include/sourcemod.inc +++ b/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.