Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 90c4098046 |
@@ -24,9 +24,6 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
|
||||
|
||||
## Versions
|
||||
|
||||
* v1.3.1
|
||||
- support dates without day (YYYY-mm)
|
||||
|
||||
* v1.3
|
||||
- jogobot module not longer included
|
||||
* v1.2
|
||||
@@ -43,4 +40,4 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
|
||||
GPLv3+
|
||||
|
||||
## Author Information
|
||||
Copyright 2021 Jonathan Golder <jonathan@golderweb.de>
|
||||
Copyright 2018 Jonathan Golder <jonathan@golderweb.de>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# modified by:
|
||||
#
|
||||
# Copyright 2021 Jonathan Golder <jonathan@golderweb.de>
|
||||
# Copyright 2017 Jonathan Golder <jonathan@golderweb.de>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -256,7 +256,7 @@ def main(*args):
|
||||
force_reload = True
|
||||
else:
|
||||
pass
|
||||
genFactory.handle_arg(arg)
|
||||
genFactory.handleArg(arg)
|
||||
|
||||
if not gen:
|
||||
gen = genFactory.getCombinedGenerator()
|
||||
|
||||
@@ -239,11 +239,8 @@ class CountryList():
|
||||
int( self._chartein_raw ) ).monday() )
|
||||
# Complete date string present
|
||||
else:
|
||||
try:
|
||||
self.chartein = datetime.strptime( self._chartein_raw,
|
||||
self.chartein = datetime.strptime( self._chartein_raw,
|
||||
"%Y-%m-%d" )
|
||||
except ValueError:
|
||||
self.chartein = datetime.strptime( self._chartein_raw, "%Y-%m" )
|
||||
|
||||
def get_chartein_value( self ):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user