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
6c6eb8ad
Commit
6c6eb8ad
authored
Aug 24, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made PrincipiaTime accept arguments.
parent
36d82fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+7
-4
No files found.
lib/python/OFS/Application.py
View file @
6c6eb8ad
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.7
0 1998/08/17 19:13:03 brian
Exp $'''
__version__
=
'$Revision: 1.7
0
$'
[
11
:
-
2
]
$Id: Application.py,v 1.7
1 1998/08/24 20:30:48 jim
Exp $'''
__version__
=
'$Revision: 1.7
1
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
,
App
.
Product
,
App
.
ProductRegistry
...
...
@@ -184,9 +184,9 @@ class Application(Globals.ApplicationDefaultPermissions, Folder.Folder,
"Sorry, the requested document does not exist.<p>"
"
\
n
<!--
\
n
%s
\
n
%s
\
n
-->"
%
(
name
,
REQUEST
[
'REQUEST_METHOD'
]))
def
PrincipiaTime
(
self
):
def
PrincipiaTime
(
self
,
*
args
):
"""Utility function to return current date/time"""
return
DateTime
(
)
return
apply
(
DateTime
,
args
)
class
Expired
(
Persistent
):
...
...
@@ -432,6 +432,9 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.71 1998/08/24 20:30:48 jim
# Made PrincipiaTime accept arguments.
#
# Revision 1.70 1998/08/17 19:13:03 brian
# Added fix for ProductFolder with old bobobases.
#
...
...
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