Skip to content

Commit 75d3280

Browse files
authored
Merge pull request #36 from stat-kwon/master
Change start date to YYYY-MM format
2 parents 4a7bbae + e249439 commit 75d3280

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/cloudforet/cost_analysis/manager/job_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_tasks(self, options, secret_data, schema, start, last_synchronized_at):
2727

2828
tasks.append({'task_options': task_options})
2929
changed.append({
30-
'start': '1900-01-01'
30+
'start': '1900-01'
3131
})
3232

3333
_LOGGER.debug(f'[get_tasks] tasks: {tasks}')

src/cloudforet/cost_analysis/model/job_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Task(Model):
1414

1515

1616
class Changed(Model):
17-
start = StringType(required=True)
18-
end = StringType(default=None)
17+
start = StringType(required=True, max_length=7)
18+
end = StringType(default=None, max_length=7)
1919

2020

2121
class Tasks(Model):

0 commit comments

Comments
 (0)