Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
433e9636
Commit
433e9636
authored
Dec 07, 2003
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed position of code merged from Zope-2_7-branch
parent
1e0590d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lib/python/DateTime/DateTime.py
lib/python/DateTime/DateTime.py
+7
-7
No files found.
lib/python/DateTime/DateTime.py
View file @
433e9636
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
##############################################################################
##############################################################################
"""Encapsulation of date/time values"""
"""Encapsulation of date/time values"""
__version__
=
'$Revision: 1.9
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.9
4
$'
[
11
:
-
2
]
import
os
,
re
,
math
,
DateTimeZone
import
os
,
re
,
math
,
DateTimeZone
...
@@ -479,6 +479,12 @@ class DateTime:
...
@@ -479,6 +479,12 @@ class DateTime:
__roles__
=
None
__roles__
=
None
__allow_access_to_unprotected_subobjects__
=
1
__allow_access_to_unprotected_subobjects__
=
1
# Make class-specific exceptions available as attributes.
DateError
=
DateError
TimeError
=
TimeError
DateTimeError
=
DateTimeError
SyntaxError
=
SyntaxError
def
__init__
(
self
,
*
args
,
**
kw
):
def
__init__
(
self
,
*
args
,
**
kw
):
"""Return a new date-time object
"""Return a new date-time object
...
@@ -497,12 +503,6 @@ class DateTime:
...
@@ -497,12 +503,6 @@ class DateTime:
then the current date/time is returned, represented in the
then the current date/time is returned, represented in the
timezone of the local machine.
timezone of the local machine.
# Make class-specific exceptions available as attributes.
DateError = DateError
TimeError = TimeError
DateTimeError = DateTimeError
SyntaxError = SyntaxError
- If the function is invoked with a single string argument
- If the function is invoked with a single string argument
which is a recognized timezone name, an object representing
which is a recognized timezone name, an object representing
the current time is returned, represented in the specified
the current time is returned, represented in the specified
...
...
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