Merge branch 'NEWDWH2021-547' into feature-NEWDWH2021-630

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2022-08-02 18:39:40 +09:00
commit 3752942106

View File

@ -49,7 +49,7 @@ class BooleanConvertStrategy:
class DatetimeConvertStrategy:
def convert_value(self, convert_value: str) -> str:
# データ登録処理がJSTとして登録するため、変換処理内で事前にJSTの日文字列に変換する
# データ登録処理がJSTとして登録するため、変換処理内で事前にJSTの日文字列に変換する
return datetime.strptime(convert_value, CRM_DATETIME_FORMAT).astimezone(gettz(CONVERT_TZ)).strftime(YYYYMMDDHHMMSS)