gtime updates; README updates

This commit is contained in:
John
2019-04-07 21:49:24 +08:00
parent a5cfb4e638
commit 1fc85d49bd
2 changed files with 10 additions and 12 deletions

View File

@ -67,17 +67,19 @@ func main() {
# Contributors
- [johng](https://gitee.com/johng)
- [zhaopengme](https://github.com/zhaopengme)
- [wenzi1](https://gitee.com/wenzi1)
- [zseeker](https://gitee.com/zseeker)
- [ymrjqyy](https://gitee.com/ymrjqyy)
- [chenyang351](https://github.com/chenyang351)
- [wxkj](https://gitee.com/wxkj)
- [wxkj001](https://github.com/wxkj001)
- [zhangjinfu](https://gitee.com/zhangjinfu)
- [garfieldkwong](https://gitee.com/garfieldkwong)
- [hailaz](https://gitee.com/hailaz)
- [johng](https://gitee.com/johng)
- [pibigstar](https://github.com/pibigstar)
- [qq1054000800](https://gitee.com/qq1054000800)
- [wenzi1](https://gitee.com/wenzi1)
- [wxkj001](https://github.com/wxkj001)
- [ymrjqyy](https://gitee.com/ymrjqyy)
- [youyixiao](https://github.com/youyixiao)
- [zhangjinfu](https://gitee.com/zhangjinfu)
- [zhaopengme](https://github.com/zhaopengme)
- [zseeker](https://gitee.com/zseeker)
# Donators

View File

@ -149,10 +149,6 @@ func parseDateStr(s string) (year, month, day int) {
year, _ = strconv.Atoi(array[2])
day, _ = strconv.Atoi(array[0])
}
// 年是否为缩写,如果是,那么需要补上前缀
if year < 100 {
year = int(time.Now().Year()/100)*100 + year
}
return
}