forked from github/server
BUG 2328: wrong calendar seasons.
This commit is contained in:
parent
9525c8790c
commit
8e15487a1e
|
@ -2,17 +2,18 @@
|
||||||
"calendar" : {
|
"calendar" : {
|
||||||
"months" : [
|
"months" : [
|
||||||
{ "storm" : 60, "season" : 2 },
|
{ "storm" : 60, "season" : 2 },
|
||||||
{ "storm" : 10, "season" : 2 },
|
|
||||||
|
|
||||||
{ "storm" : 60, "season" : 3 },
|
|
||||||
{ "storm" : 10, "season" : 3 },
|
{ "storm" : 10, "season" : 3 },
|
||||||
|
{ "storm" : 60, "season" : 3 },
|
||||||
|
|
||||||
|
{ "storm" : 10, "season" : 0 },
|
||||||
{ "storm" : 60, "season" : 0 },
|
{ "storm" : 60, "season" : 0 },
|
||||||
{ "storm" : 80, "season" : 0 },
|
{ "storm" : 80, "season" : 0 },
|
||||||
|
|
||||||
{ "storm" : 50, "season" : 1 },
|
{ "storm" : 50, "season" : 1 },
|
||||||
{ "storm" : 30, "season" : 1 },
|
{ "storm" : 30, "season" : 1 },
|
||||||
{ "storm" : 60, "season" : 1 }
|
|
||||||
|
{ "storm" : 60, "season" : 2 }
|
||||||
],
|
],
|
||||||
"weeks" : [
|
"weeks" : [
|
||||||
"firstweek", "secondweek", "thirdweek"
|
"firstweek", "secondweek", "thirdweek"
|
||||||
|
|
|
@ -404,3 +404,7 @@ function test_demonstealth()
|
||||||
desc = u:show()
|
desc = u:show()
|
||||||
assert_equal(nil, string.find(desc, "Drache"))
|
assert_equal(nil, string.find(desc, "Drache"))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function test_calendar_season_2328()
|
||||||
|
assert_equal("fall", get_season(1026))
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue