Re: DateTime vs. datetime

Chuck Theobald <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Thanks, Nathan, I'll stick with DateTime!

Chuck


On 03/23/2015 03:01 PM, Nathan Van Gheem wrote:
> It's a restricted python limitation--probably not allowed to import it 
> for "security."
>
> Using DateTime is fine though nonetheless--it's not going away anytime 
> soon likely.
>
>
> On Mon, Mar 23, 2015 at 4:59 PM, Chuck Theobald <[email protected] 
> <mailto:[email protected]>> wrote:
>
>          Plone 4.3.3 (4308)
>          CMF 2.2.7
>          Zope 2.13.22
>          Python 2.7.6
>
>     So I am given to understand that python datetime is to be
>     preferred over
>     Plone's DateTime. Yet, when I try to "from datetime import time" in a
>     PloneFormGen field validator and submit the form, I get the
>     "Insufficient Privileges" page. Using "from DateTime import DateTime"
>     works fine. I'd prefer to stay with standard python if possible,
>     how can
>     I use datetime instead of DateTime?
>
>     http://docs.plone.org/external/plone.api/docs/api/portal.html
>
>     --
>     Chuck Theobald
>     System Administrator
>     The Robert and Beverly Lewis Center for Neuroimaging
>     University of Oregon
>     P: 541-346-0343 <tel:541-346-0343>
>     F: 541-346-0345 <tel:541-346-0345>
>
>
>     ------------------------------------------------------------------------------
>     Dive into the World of Parallel Programming The Go Parallel
>     Website, sponsored
>     by Intel and developed in partnership with Slashdot Media, is your
>     hub for all
>     things parallel software development, from weekly thought
>     leadership blogs to
>     news, videos, case studies, tutorials and more. Take a look and
>     join the
>     conversation now. http://goparallel.sourceforge.net/
>     _______________________________________________
>     Plone-Users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
>
>
> -- 
> Nathan Van Gheem
> Solutions Architect
> Wildcard Corp

-- 
Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.