Skip to content

Commit

Permalink
Fix Lua runtime short day format option. (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro authored Jan 20, 2025
1 parent c3846ef commit ad35adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/runtime_lua_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down

0 comments on commit ad35adc

Please sign in to comment.