Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2515)

Issue 6457083: Try to implement MyDateTime (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by spy
Modified:
12 years, 3 months ago
Reviewers:
thomas.j.waldmann, Reimar Bauer
Visibility:
Public.

Description

Try to implement MyDateTime

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add some comments. #

Total comments: 2

Patch Set 3 : Add DateTimeUNIX tests. #

Total comments: 4

Patch Set 4 : Improve tests #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -2 lines) Patch
A MoinMoin/_tests/test_forms.py View 1 2 3 1 chunk +45 lines, -0 lines 4 comments Download
M MoinMoin/forms.py View 1 2 2 chunks +39 lines, -2 lines 0 comments Download

Messages

Total messages: 8
ThomasJWaldmann
http://codereview.appspot.com/6457083/diff/1/MoinMoin/forms.py File MoinMoin/forms.py (right): http://codereview.appspot.com/6457083/diff/1/MoinMoin/forms.py#newcode102 MoinMoin/forms.py:102: A DateTime that uses timestamp instead of datetime as ...
12 years, 3 months ago (2012-08-06 17:50:21 UTC) #1
Reimar Bauer
a question http://codereview.appspot.com/6457083/diff/8001/MoinMoin/forms.py File MoinMoin/forms.py (right): http://codereview.appspot.com/6457083/diff/8001/MoinMoin/forms.py#newcode111 MoinMoin/forms.py:111: pass I wonder a little bit about ...
12 years, 3 months ago (2012-08-06 20:05:26 UTC) #2
spy
answered http://codereview.appspot.com/6457083/diff/8001/MoinMoin/forms.py File MoinMoin/forms.py (right): http://codereview.appspot.com/6457083/diff/8001/MoinMoin/forms.py#newcode111 MoinMoin/forms.py:111: pass On 2012/08/06 20:05:26, Reimar Bauer wrote: > ...
12 years, 3 months ago (2012-08-06 21:26:53 UTC) #3
Reimar Bauer
some comments http://codereview.appspot.com/6457083/diff/9003/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): http://codereview.appspot.com/6457083/diff/9003/MoinMoin/_tests/test_forms.py#newcode34 MoinMoin/_tests/test_forms.py:34: dt_str = str(dt_u) what happens with an ...
12 years, 3 months ago (2012-08-07 11:22:44 UTC) #4
ThomasJWaldmann
http://codereview.appspot.com/6457083/diff/9003/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): http://codereview.appspot.com/6457083/diff/9003/MoinMoin/_tests/test_forms.py#newcode27 MoinMoin/_tests/test_forms.py:27: assert d.u == unicode(incorrect_timestamp) hmm, is that handled like ...
12 years, 3 months ago (2012-08-07 15:05:50 UTC) #5
spy
answered http://codereview.appspot.com/6457083/diff/9003/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): http://codereview.appspot.com/6457083/diff/9003/MoinMoin/_tests/test_forms.py#newcode27 MoinMoin/_tests/test_forms.py:27: assert d.u == unicode(incorrect_timestamp) On 2012/08/07 15:05:50, ThomasJWaldmann ...
12 years, 3 months ago (2012-08-07 19:39:48 UTC) #6
Reimar Bauer
only small comments http://codereview.appspot.com/6457083/diff/4006/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): http://codereview.appspot.com/6457083/diff/4006/MoinMoin/_tests/test_forms.py#newcode9 MoinMoin/_tests/test_forms.py:9: import pytest not needed or? http://codereview.appspot.com/6457083/diff/4006/MoinMoin/_tests/test_forms.py#newcode38 ...
12 years, 3 months ago (2012-08-07 19:59:21 UTC) #7
spy
12 years, 3 months ago (2012-08-07 20:13:19 UTC) #8
http://codereview.appspot.com/6457083/diff/4006/MoinMoin/_tests/test_forms.py
File MoinMoin/_tests/test_forms.py (right):

http://codereview.appspot.com/6457083/diff/4006/MoinMoin/_tests/test_forms.py...
MoinMoin/_tests/test_forms.py:9: 
On 2012/08/07 19:59:21, Reimar Bauer wrote:
> import pytest not needed or?

removed

http://codereview.appspot.com/6457083/diff/4006/MoinMoin/_tests/test_forms.py...
MoinMoin/_tests/test_forms.py:38: incorrect_string = u'2012-10-30'
On 2012/08/07 19:59:21, Reimar Bauer wrote:
> incorrect_timestring
> 
> because you also name incorrect_timestamp

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b