-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix so datetime combo field respects date-format and time format a set up by the user #446
Merged
jtsternberg
merged 31 commits into
CMB2:yivi-date-time-picker-fixes
from
yivi:yivi-date-time-picker-fixes
Nov 23, 2015
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
afb4069
updated Spanish translations
a286f03
Fixes text_date_timestamp validation so it uses 'date_format', instea…
26a9b73
Outputs data-datepicker into date_text, so each datepicker can be ini…
128cecb
function to convert between php date-format options, and js date-form…
dddc86d
stripslashes in format_timestamp made it so you couldn't insert escap…
d3d8c23
Aditional options to convert time formats from php to js
35bb37f
time-format options are recognized by the time-picker (using a data a…
e0331f5
@return missing in some phpdoc blocks
f44be5f
Merge remote-tracking branch 'upstream/trunk' into trunk
4edf1f1
old style array declaration, to make Travis happy.
b068a3f
Removed anoymous function to satisfy Travis (PHP 5.2)
4df29b4
Another old style array declaration to satisfy Travis
70e3b50
Updating tests. Crossing fingers.
0e36e09
yet another new style to old style array declaration
7d5421e
yet another new style to old style array declaration...
65ca940
a couple more new style array declarations to 5.2 style
ed17942
and an array declaration in a return statement
3be00da
hopefully the last > 5.2 array declaration. :(
7087f8d
Merge remote-tracking branch 'upstream/trunk' into trunk
3098d59
proper doc-type for phpdoc in text_date_timestamp
7a03730
Merge remote-tracking branch 'upstream/trunk' into trunk
af4f02a
removed formatting/docblock changes
fe72981
Workaround for create_date_from_format not existing in PHP < 5.3
4c6e93e
Merge branch 'trunk' of https://github.com/yivi/CMB2 into yivi-date-t…
jtsternberg e775e2a
Clean up
jtsternberg e81b6ae
fix so datetime combo field respects date-format and time format as s…
295d5f1
fixes so datetime/tiemzone also respects user defined time/date formats
yivi 99e82fe
going back to serialized datetime object, although it ends up seriali…
yivi ef25e15
Merge branch 'trunk' into yivi-date-time-picker-fixes
yivi 641e7b8
minified js with date/time fixes
yivi f6be281
Merge branch 'trunk' into yivi-date-time-picker-fixes
yivi File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this account for repeating datetime fields?
I'm seeing this issue mentioned in #330 as well. I was looking through the code and believe I have narrowed it down to the deleted line 215 failing to account for repeatable fields. However I havnt had the time to try to fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll look into the repeatable field issues (hopefully tomorrow).