Closed jlevitt2 closed 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
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.
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
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.
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
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.
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:
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!)