We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/recruit-mtl/erajp/blob/master/erajp/converter.py#L20
このモジュールがインポートされた日付で固定されてしまいます。
以下の様にする必要があります。 https://docs.python.org/ja/3/tutorial/controlflow.html#default-argument-values
def strjpftime(time=None), format="%o%E.%m.%d"): if time is None: time = datetime.datetime.today() ...
別の問題ですが、formatという組み込み関数名やtimeという標準ライブラリ名を変数名に使わない方が良いかと思います。
https://docs.python.org/ja/3/library/functions.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/recruit-mtl/erajp/blob/master/erajp/converter.py#L20
このモジュールがインポートされた日付で固定されてしまいます。
以下の様にする必要があります。
https://docs.python.org/ja/3/tutorial/controlflow.html#default-argument-values
別の問題ですが、formatという組み込み関数名やtimeという標準ライブラリ名を変数名に使わない方が良いかと思います。
https://docs.python.org/ja/3/library/functions.html
The text was updated successfully, but these errors were encountered: