diff --git a/CHANGELOG.md b/CHANGELOG.md index 69803428a..a5610db7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr - Ensure persisted chat messages listing returns correct order. - Return correct tournament details in console API leaderboard details endpoint. - Do not report invalid http RPC ids to prometheus counts. +- Fix Lua runtime short day format option. ## [3.25.0] - 2024-11-25 ### Added diff --git a/server/runtime_lua_utils.go b/server/runtime_lua_utils.go index 80ad7b9a7..8d4a1f1e0 100644 --- a/server/runtime_lua_utils.go +++ b/server/runtime_lua_utils.go @@ -79,7 +79,7 @@ func (fs *flagScanner) Next() (byte, bool) { } var cDateFlagToGo = map[byte]string{ - 'a': "mon", 'A': "Monday", 'b': "Jan", 'B': "January", 'c': "02 Jan 06 15:04 MST", 'd': "02", + 'a': "Mon", 'A': "Monday", 'b': "Jan", 'B': "January", 'c': "02 Jan 06 15:04 MST", 'd': "02", 'F': "2006-01-02", 'H': "15", 'I': "03", 'm': "01", 'M': "04", 'p': "PM", 'P': "pm", 'S': "05", 'x': "15/04/05", 'X': "15:04:05", 'y': "06", 'Y': "2006", 'z': "-0700", 'Z': "MST"}