Skip to content

Bugfix show day numer as non-zero padded decimal#265

Merged
kbeker merged 1 commit intomasterfrom
bugfix-wrong-converting-datetime-in-tests
Jun 3, 2019
Merged

Bugfix show day numer as non-zero padded decimal#265
kbeker merged 1 commit intomasterfrom
bugfix-wrong-converting-datetime-in-tests

Conversation

@kbeker
Copy link
Contributor

@kbeker kbeker commented Jun 3, 2019

No issue for that. Quick fix

@kbeker kbeker added the bug Something isn't working label Jun 3, 2019
@kbeker kbeker added this to the next_release milestone Jun 3, 2019
@kbeker kbeker self-assigned this Jun 3, 2019
fields_to_check.append(
datetime.datetime.strftime(
datetime.datetime.fromtimestamp(int(getattr(report, date).timestamp())), "%B %d, %Y, %-I:%M"
datetime.datetime.fromtimestamp(int(getattr(report, date).timestamp())), "%B %-d, %Y, %-I:%M"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it constant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not see it before I merge it. Next time I will fix it :)

@kbeker kbeker merged commit cdeedd7 into master Jun 3, 2019
@kbeker kbeker deleted the bugfix-wrong-converting-datetime-in-tests branch June 3, 2019 13:04
@kbeker kbeker changed the title Show day numer as non-zero padded decimal Bugfix show day numer as non-zero padded decimal Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants