[buddypress-trac] [BuddyPress Trac] #5500: Date xprofile field enhancement
buddypress-trac
noreply at wordpress.org
Thu Jul 30 14:44:22 UTC 2015
#5500: Date xprofile field enhancement
-------------------------------------+------------------
Reporter: sooskriszta | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: Component - XProfile | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by boonebgorges):
I'm coming around to the idea of including these features, but I think the
suggested UI needs some refinement. Some thoughts/ideas, for discussion:
* Let's break out the options into a separate metabox - "Field Options" or
something like that. Or maybe even two separate metaboxes: "Range" and
"Format"
* The year/no-year checkbox is kinda arcane. If we're going to support
this, let's make a more general set of formats, so that admins can decide
in a more fine-grained way how they want dates to be formatted. The
easiest way to do this would be to provide a set of hardcoded formats:
"February 25, 2015", "February 25", "2015-02-25", etc. More complex would
be a free-form field with swappable placeholders, akin to PHP's `date()`
(but more user-friendly). Defaults should be sensitive to localized date
values/WP settings.
* We could use better labels for the two radio buttons related to Range. I
suggest something like "Fixed" and "Dynamic".
* If we're going to make these improvements, we can remove the 1902-2037
restriction, which I'm sure was implemented to avoid problems with
freeform data entry.
Thanks for your work on this so far!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5500#comment:22>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list