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
1444ba9b
Commit
1444ba9b
authored
May 14, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to use date functions in App.Common
parent
693ff51b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
lib/python/OFS/PropertySheets.py
lib/python/OFS/PropertySheets.py
+2
-9
No files found.
lib/python/OFS/PropertySheets.py
View file @
1444ba9b
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""Property sheets"""
__version__
=
'$Revision: 1.4
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
2
$'
[
11
:
-
2
]
import
time
,
string
,
App
.
Management
,
Globals
from
ZPublisher.Converters
import
type_converters
...
...
@@ -92,6 +92,7 @@ from DocumentTemplate.DT_Util import html_quote
from
Globals
import
HTMLFile
,
MessageDialog
from
string
import
find
,
join
,
lower
,
split
,
rfind
from
Acquisition
import
Implicit
,
Explicit
from
App.Common
import
rfc1123_date
from
webdav.common
import
urlbase
from
ExtensionClass
import
Base
from
Globals
import
Persistent
...
...
@@ -699,11 +700,3 @@ def aq_base(ob):
if
hasattr
(
ob
,
'aq_base'
):
return
ob
.
aq_base
return
ob
def
rfc1123_date
(
ts
=
None
):
# Return an RFC 1123 format date string, required for
# use in HTTP Date headers per the HTTP 1.1 spec.
if
ts
is
None
:
ts
=
time
.
time
()
ts
=
time
.
asctime
(
time
.
gmtime
(
ts
))
ts
=
string
.
split
(
ts
)
return
'%s, %s %s %s %s GMT'
%
(
ts
[
0
],
ts
[
2
],
ts
[
1
],
ts
[
3
],
ts
[
4
])
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