This project has been archived by its maintainers, and is no longer receiving any updates.
MxDateTimeField
Note: This module is meant to be used in migrated sites and not for modern plone 4.x use.
This field enables Archetypes to use mxDateTime fields. It is very simple, it just transforms (well formed) strings into mxDateTime values. You can use the Field in Archetypes schemas like this:
...
from Products.MxDateTimeField import MxDateTimeField
...
schema= Schema((
MxDateTimeField('BirthDate'),
...
The benefit of the MxDateTimeField is that a wider range of time designations is supported, dates may range from 5’000’000CE to 5’000’000BCE. Sometimes you encounter Problems in Plone when you want to use such dates.
Installation
You need to install egenix mxDateTime first, it is part of ‘mxBase’, see http://www.egenix.com/files/python/eGenix-mx-Extensions.html#Download-mxBASE
Several Operating Systems are offering the egenix mxDateTime within their package management systems.
Then just put the MxDateTime folder into your Zopes ‘Products’ directory. The Product should be listed among your Zopes Products in the control panel.
Thanks
Thanks to Philipp Auersperg and Jens Klein for their hints and tips and for AGX ;-)
Links
Read more about mxDateTime - Date and Time types for Python: http://www.egenix.com/files/python/mxDateTime.html
Visit Bluedynamice: http://www.bluedynamics.com
See my Homepage: http://gogo.bluedynamics.com
Support
If you have any questionns feel free to ask!
irc: irc.freenode.net #bluedynamics email: gogo@bluedynamics.com
Metadata
Release files for Products.MxDateTimeField 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Products.MxDateTimeField-1.2.tar.gz | 14.0 kB | Without provenance | Details for Products.MxDateTimeField-1.2.tar.gz |
Release files / Products.MxDateTimeField-1.2.tar.gz
| Download URL | Products.MxDateTimeField-1.2.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05c02519ea1c2f200b17f15cfd80e1902dc86a05d1a8481817dca81bd90e4764
|
|
BLAKE2b-256 checksum How to use checksums |
c9ddc06d6671b5a1e20efa6be0da010522a61dc2b5ee17aefecb5a87fe030c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Products.MxDateTimeField 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.