You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2019/08/30 09:30:10 UTC
[incubator-ponymail] branch master updated: Bug: only 12 months in
a year
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git
The following commit(s) were added to refs/heads/master by this push:
new ca8a8d2 Bug: only 12 months in a year
ca8a8d2 is described below
commit ca8a8d2b456171de6c6e09e1ba5988ac5a04b97b
Author: Sebb <se...@apache.org>
AuthorDate: Fri Aug 30 10:30:00 2019 +0100
Bug: only 12 months in a year
This fixes #508
---
CHANGELOG.md | 1 +
site/api/lib/utils.lua | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 110c5c8..1921254 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
## Changes in 0.12:
+- Bug: only 12 months in a year (#508)
- Bug: wordcloud.js can overwrite document ids (#507)
- Enh: allow generator to be overridden for testing (#506)
- Bug: generator.py does not include original medium generator (#505)
diff --git a/site/api/lib/utils.lua b/site/api/lib/utils.lua
index 40dad7c..9e97357 100644
--- a/site/api/lib/utils.lua
+++ b/site/api/lib/utils.lua
@@ -20,7 +20,8 @@
local JSON = require 'cjson' -- for JSON.null
local days = { -- days in months of the year
- 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 30, 31
+-- Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
+ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
}
-- find the original topic starter