pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Cannot save midnight in time field #5616

Closed jlevitt2 closed 4 years ago

jlevitt2 commented 4 years ago

Describe the bug I'm unable to save midnight 00:00:00 to a time field. When I save the post, the field populates the current time instead of saving midnight.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Save as exactly 12:00am (00:00:00)

Screenshots n/a

Pods Version

Please provide the version of Pods you are running: Version 2.7.16.2

WordPress Environment

`

wp-core

version: 5.3.2 site_language: en_US user_language: en_US timezone: Pacific/Honolulu permalink: /%postname%/ https_status: true user_registration: 0 default_comment_status: closed multisite: false user_count: 16 dotorg_communication: true

wp-paths-sizes

wordpress_path: /www wordpress_size: 44.86 MB (47037319 bytes) uploads_path: /www/wp-content/uploads uploads_size: 591.27 MB (619994923 bytes) themes_path: /www/wp-content/themes themes_size: 3.53 MB (3704356 bytes) plugins_path: /www/wp-content/plugins plugins_size: 148.45 MB (155664891 bytes) database_size: 55.42 MB (58114048 bytes) total_size: 843.54 MB (884515537 bytes)

wp-dropins (1)

db-error.php: true

wp-active-theme

name: Beaver Builder Child Theme (bb-theme-child) version: 1.0 author: The Beaver Builder Team author_website: http://www.fastlinemedia.com parent_theme: Beaver Builder Theme (bb-theme) theme_features: woocommerce, post-thumbnails, fl-theme-builder-headers, fl-theme-builder-footers, fl-theme-builder-parts, automatic-feed-links, title-tag, align-wide, wp-block-styles, menus, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets theme_path: /www/wp-content/themes/bb-theme-child

wp-parent-theme

name: Beaver Builder Theme (bb-theme) version: 1.7.5.1 author: The Beaver Builder Team author_website: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page theme_path: /www/wp-content/themes/bb-theme

wp-plugins-active (18)

Admin Columns: version: 4.0.1, author: AdminColumns.com Beaver Builder Plugin (Pro Version): version: 2.3.2.2, author: The Beaver Builder Team Beaver Themer: version: 1.3.0.1, author: The Beaver Builder Team Disable Comments: version: 1.10.2, author: Samir Shah Duplicate Post: version: 3.2.4, author: Enrico Battocchi Google Tag Manager for Wordpress: version: 1.11.2, author: Thomas Geiger Gravity Forms: version: 2.4.17, author: rocketgenius Gravity Forms MailChimp Add-On: version: 4.6, author: rocketgenius Gravity Forms PayPal Standard Add-On: version: 3.2, author: rocketgenius Imagify: version: 1.9.9, author: WP Media Pods - Custom Content Types and Fields: version: 2.7.16.2, author: Pods Framework Team Pods Beaver Themer Add-On: version: 1.3.2, author: Quasel, Pods Framework Team PowerPack for Beaver Builder: version: 2.7.11.1, author: IdeaBox Creations Printful Integration for WooCommerce: version: 2.1.9, author: Printful Redirection: version: 4.7, author: John Godley The Events Calendar: version: 5.0.2.1, author: Modern Tribe, Inc. WooCommerce: version: 3.9.3, author: Automattic Yoast SEO: version: 13.2, author: Team Yoast

wp-media

image_editor: WP_Image_Editor_Imagick imagick_module_version: 1673 imagemagick_version: ImageMagick 6.8.9-9 Q16 x86_64 2019-06-15 http://www.imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 31 GB imagick::RESOURCETYPE_DISK: 1.844674407371E+19 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 31 GB imagick::RESOURCETYPE_MEMORY: 16 GB imagick::RESOURCETYPE_THREAD: 6 gd_version: 2.2.5 ghostscript_version: unknown

wp-server

server_architecture: unknown httpd_software: Flywheel/4.1.0 php_version: 7.3.13-1+ubuntu16.04.1+deb.sury.org+1 64bit php_sapi: fpm-fcgi max_input_variables: 100000 time_limit: 30 memory_limit: 200M max_input_time: 60 upload_max_size: 300M php_post_max_size: 300M curl_version: 7.47.0 OpenSSL/1.0.2g suhosin: false imagick_availability: true htaccess_extra_rules: true

wp-database

extension: mysqli server_version: 5.6.32-1+deb.sury.org~precise+0.1 client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $

wp-constants

WP_HOME: https://manaoradio.com WP_SITEURL: https://manaoradio.com WP_CONTENT_DIR: /www/wp-content WP_PLUGIN_DIR: /www/wp-content/plugins WP_MAX_MEMORY_LIMIT: 200M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined

wp-filesystem

wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable

pods

pods-server-software: Flywheel/4.1.0 pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 pods-session-save-path: /tmp pods-session-save-path-exists: Yes pods-session-save-path-writable: Yes pods-session-max-lifetime: 1440 pods-opcode-cache-apc: No pods-opcode-cache-memcached: No pods-opcode-cache-opcache: Yes pods-opcode-cache-redis: No pods-object-cache-apc: No pods-object-cache-apcu: Yes pods-object-cache-memcache: Yes pods-object-cache-memcached: No pods-object-cache-redis: No pods-memory-current-usage: 86.585M pods-memory-current-usage-real: 55.000M pods-network-wide: No pods-install-location: /www/wp-content/plugins/pods/ pods-developer: No pods-tableless-mode: No pods-light-mode: No pods-strict: No pods-allow-deprecated: Yes pods-api-cache: Yes pods-shortcode-allow-evaluate-tags: No

`

Pods Package Export (helpful!)


Copy and Paste the JSON Export from **Pods Admin, Migrate: Packages, Export** in WordPress admin here
{"meta":{"version":"2.7.16.2","build":1583535032},"pods":{"2848":{"id":2848,"name":"djs","label":"DJs","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"shows":{"id":2856,"name":"shows","label":"Shows","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"shows","sister_id":"2853","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""}},"show_in_menu":"1","label_singular":"DJ","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"dj","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_action-group":"0","built_in_taxonomies_category":"0","built_in_taxonomies_fl-builder-template-category":"0","built_in_taxonomies_fl-builder-template-type":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_product_cat":"0","built_in_taxonomies_product_shipping_class":"0","built_in_taxonomies_product_tag":"0","built_in_taxonomies_product_type":"0","built_in_taxonomies_product_visibility":"0","menu_position":"20","menu_icon":"dashicons-admin-users","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","built_in_taxonomies_day_of_the_week":"0","built_in_taxonomies_tribe_events_cat":"0"},"2954":{"id":2954,"name":"reviews","label":"Reviews","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":"1","label_singular":"Review","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"review","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_action-group":"0","built_in_taxonomies_category":"0","built_in_taxonomies_fl-builder-template-category":"0","built_in_taxonomies_fl-builder-template-type":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_product_cat":"0","built_in_taxonomies_product_shipping_class":"0","built_in_taxonomies_product_tag":"0","built_in_taxonomies_product_type":"0","built_in_taxonomies_product_visibility":"0","menu_position":"0","menu_icon":"dashicons-format-quote","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","built_in_taxonomies_tribe_events_cat":"0"},"2849":{"id":2849,"name":"shows","label":"Shows","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"host":{"id":2853,"name":"host","label":"Host","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"djs","sister_id":"2856","required":"0","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"start_time":{"id":2851,"name":"start_time","label":"Start Time","description":"","help":"","class":"","type":"time","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","time_type":"12","time_format":"h_mm_A","time_format_24":"hh_mm","time_allow_empty":"0","time_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","time_repeatable":"0","time_format_custom":"","time_format_custom_js":""},"end_time":{"id":2852,"name":"end_time","label":"End Time","description":"","help":"","class":"","type":"time","weight":2,"pick_object":"","pick_val":"","sister_id":"","required":"0","time_type":"12","time_format":"h_mm_A","time_format_24":"hh_mm","time_allow_empty":"0","time_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","time_repeatable":"0","time_format_custom":"","time_format_custom_js":""},"days":{"id":3367,"name":"days","label":"Days","description":"","help":"","class":"","type":"pick","weight":3,"pick_object":"days_of_week","pick_val":"","sister_id":"","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"on-demand_link":{"id":2850,"name":"on-demand_link","label":"On-Demand Link","description":"Link to archived shows","help":"","class":"","type":"website","weight":4,"pick_object":"","pick_val":"","sister_id":"","required":"0","website_format":"no-http-no-www","website_allow_port":"0","website_clickable":"0","website_new_window":"0","website_max_length":"255","website_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","website_repeatable":"0","website_placeholder":""},"underwriter_1":{"id":3368,"name":"underwriter_1","label":"Underwriter 1","description":"","help":"","class":"","type":"pick","weight":5,"pick_object":"post_type","pick_val":"underwriters","sister_id":"","required":"0","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"underwriter_2":{"id":3369,"name":"underwriter_2","label":"Underwriter 2","description":"","help":"","class":"","type":"pick","weight":6,"pick_object":"post_type","pick_val":"underwriters","sister_id":"","required":"0","unique":"0","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"schedule_note":{"id":3470,"name":"schedule_note","label":"Schedule Note","description":"","help":"","class":"","type":"pick","weight":7,"pick_object":"custom-simple","pick_val":"","sister_id":"","pick_custom":"(every other week)\n(1st & 3rd weeks)\n(2nd & 3rd weeks)\n(2nd & 4th weeks)\n(1st & Last weeks)","required":"0","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""}},"show_in_menu":"1","label_singular":"Show","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"show","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_action-group":"0","built_in_taxonomies_category":"0","built_in_taxonomies_fl-builder-template-category":"0","built_in_taxonomies_fl-builder-template-type":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_product_cat":"0","built_in_taxonomies_product_shipping_class":"0","built_in_taxonomies_product_tag":"0","built_in_taxonomies_product_type":"0","built_in_taxonomies_product_visibility":"0","menu_position":"21","menu_icon":"dashicons-format-audio","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","built_in_taxonomies_tribe_events_cat":"0","pfat_single":"Show List"},"3220":{"id":3220,"name":"underwriters","label":"Underwriters","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"featured":{"id":3550,"name":"featured","label":"Featured","description":"","help":"","class":"","type":"boolean","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"0","pick_post_status":["publish"],"boolean_format_type":"checkbox","boolean_yes_label":"Yes","boolean_no_label":"No","default_value":"No","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2"},"website":{"id":3221,"name":"website","label":"Website","description":"","help":"","class":"","type":"website","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","website_format":"normal","website_allow_port":"0","website_clickable":"0","website_new_window":"0","website_max_length":"255","website_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","website_repeatable":"0","website_placeholder":""}},"show_in_menu":"1","label_singular":"Underwriter","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"1","capability_type":"post","capability_type_custom":"underwriter","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_action-group":"0","built_in_taxonomies_category":"0","built_in_taxonomies_fl-builder-template-category":"0","built_in_taxonomies_fl-builder-template-type":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_product_cat":"0","built_in_taxonomies_product_shipping_class":"0","built_in_taxonomies_product_tag":"0","built_in_taxonomies_product_type":"0","built_in_taxonomies_product_visibility":"0","built_in_taxonomies_tribe_events_cat":"0","menu_position":"0","menu_icon":"dashicons-groups","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","pfat_single":"Show List"}},"templates":{"Show List":{"id":3463,"name":"Show List","code":"<div class=\"tw-show-list\">\r\n\t<div class=\"tw-start-time\">{@start_time}<\/div>\r\n\t<div class=\"tw-show-title\"><a href=\"{@permalink}\">{@post_title}<\/a><\/div>\r\n\t<div class=\"tw-schedule-note\">{@schedule_note}<\/div>\r\n<\/div>","type":"template","slug":"show-list","options":{"_edit_lock":"1583411550:36","_edit_last":"36","admin_only":"","restrict_capability":"","capability_allowed":"","pod_reference":"a:1:{s:3:\"pod\";s:5:\"shows\";}"}},"Featured Underwriters":{"id":3553,"name":"Featured Underwriters","code":"<div class=\"tw-featured-uw\">\r\n\t<a href=\"https:\/\/{@website}\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n\t\t<p>{@post_thumbnail.medium}<\/p>\r\n\t\t<p>{@post_title}<\/p>\t\t\t\r\n\t<\/a>\r\n<\/div>","type":"template","slug":"featured-underwriters","options":{"_edit_lock":"1583482397:36","_edit_last":"36","admin_only":"","restrict_capability":"","capability_allowed":"","pod_reference":"a:1:{s:3:\"pod\";s:12:\"underwriters\";}"}}}}

**Additional context**
I tried to save as 00:00:01 in the post editor UI, but that also results in the field saving as the current time when I click save. However, I can save 00:00:01 in the database.

**Possible Workaround**
Two partial workarounds:
- Save time as 12:01 am in the post editor UI (displays on front end as 12:01 am)
- Save time as 00:00:01 in the database (displays on front end as 12:00 am)
JoryHogeveen commented 4 years ago

Hi @jlevitt2

00:00:00 is considered "empty" so you'd have to allow empty values for that field. Could you verify if that is enabled?

Cheers, Jory

jlevitt2 commented 4 years ago

Thanks for the reply, Jory! I’m still getting an unexpected result when I turn on the allow empty fields option.

The field only saves as blank (no value at all) when I try to save as midnight. I confirmed on the front end that the blank field shows as blank and not midnight as expected.

Any other time will save as expected.


Josh Levitt Founder & Lead Strategist TriggerWise

On Mar 9, 2020, 5:03 AM -1000, Jory Hogeveen notifications@github.com, wrote:

Hi @jlevitt2 00:00:00 is considered "empty" so you'd have to allow empty values for that field. Could you verify if that is enabled? Cheers, Jory — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

JoryHogeveen commented 4 years ago

Hi @jlevitt2

I reproduced your issue and created a patch for this. Please check PR #5618 and let me know if that fixes your issue as well.

Cheers, Jory

jlevitt2 commented 4 years ago

Hi Jory - sorry, I’m lost on Github. Where do I download the patch?


Josh Levitt Founder & Lead Strategist TriggerWise

On Mar 10, 2020, 2:34 AM -1000, Jory Hogeveen notifications@github.com, wrote:

Hi @jlevitt2 I reproduced your issue and created a patch for this. Please check PR #5618 and let me know if that fixes your issue as well. Cheers, Jory — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

JoryHogeveen commented 4 years ago

You can see the changes in if you go to https://github.com/pods-framework/pods/pull/5618/files Or you can download the complete branch here: https://github.com/pods-framework/pods/tree/feature/5616-time-allow-midnight

jlevitt2 commented 4 years ago

Got it and tested it successfully. The patch worked. Thank you!


Josh Levitt Founder & Lead Strategist TriggerWise

On Mar 11, 2020, 4:26 AM -1000, Jory Hogeveen notifications@github.com, wrote:

You can see the changes in if you go to https://github.com/pods-framework/pods/pull/5618/files Or you can download the complete branch here: https://github.com/pods-framework/pods/tree/feature/5616-time-allow-midnight — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.