diff options
Diffstat (limited to 'fpdfsdk/src/javascript/PublicMethods.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/PublicMethods.cpp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/src/javascript/PublicMethods.cpp index c030d6cad2..e307f432d3 100644 --- a/fpdfsdk/src/javascript/PublicMethods.cpp +++ b/fpdfsdk/src/javascript/PublicMethods.cpp @@ -68,25 +68,26 @@ struct stru_TbConvert FX_LPCSTR lpszCppMark; }; -static const stru_TbConvert fcTable[] = {"mmmm","%B", - "mmm", "%b", - "mm", "%m", +static const stru_TbConvert fcTable[] = { + { "mmmm","%B" }, + { "mmm", "%b" }, + { "mm", "%m" }, //"m" - "dddd","%A", - "ddd", "%a", - "dd", "%d", + { "dddd","%A" }, + { "ddd", "%a" }, + { "dd", "%d" }, //"d", "%w", - "yyyy","%Y", - "yy", "%y", - "HH", "%H", + { "yyyy","%Y" }, + { "yy", "%y" }, + { "HH", "%H" }, //"H" - "hh", "%I", + { "hh", "%I" }, //"h" - "MM", "%M", + { "MM", "%M" }, //"M" - "ss", "%S", + { "ss", "%S" }, //"s - "tt", "%p" + { "tt", "%p" }, //"t" }; |