Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos.core
Commits
ed443054
Commit
ed443054
authored
Jun 18, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Open Order line start/stop date have the same timezone.
parent
2aaf89f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
..._accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
+1
-0
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
View file @
ed443054
...
...
@@ -853,6 +853,7 @@ class TestHostingSubscription_requestUpdateOpenSaleOrder(testSlapOSMixin):
# calculate stop date to be after now, begin with start date with precision
# of month
now
=
DateTime
()
now
=
now
.
toZone
(
request_time
.
timezone
())
stop_date
=
getClosestDate
(
target_date
=
now
,
precision
=
'month'
)
stop_date
=
addToDate
(
stop_date
,
to_add
=
{
'second'
:
-
1
})
self
.
assertEqual
(
stop_date
,
line
.
getStopDate
())
...
...
master/bt5/slapos_accounting/bt/revision
View file @
ed443054
258
\ No newline at end of file
259
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment