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 265 forks source link

Date/Time field not picking time #6158

Closed FLXweather closed 3 years ago

FLXweather commented 3 years ago

Description

I have a new custom post type with a date/time field. In the editor, the date picker works fine. The time picker, no matter if I use the sliders, or type in a time, will not save and display the time. Instead, it continues to show g:i a

Testing instructions

  1. Go to Add New
  2. Click on Create New
  3. Make new Custom Post Type, fill in the information, click Next Step
  4. Click 'Add Field'. Make field type Date/Time. Save Field. Save Pod
  5. Create new entry in the new Custom Post Type.
  6. Under 'More Fields', click the date/time entry field and attempt to use the sliders.

Expected behavior

I expected the time selector to update with the time input via the sliders or typed directly into the field.

Screenshots / screencast

Screenshot-2021-10-04-191608

Possible workaround

None discovered

Pods version

2.7.31- Fresh install

Other super helpful information

This is a brand new install of PODs on this site.

WordPress Environment ``` ` ### wp-core ### version: 5.8.1 site_language: en_US user_language: en_US timezone: America/New_York permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: open environment_type: production user_count: 9 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/groton08/domains/flxweather.com/public_html wordpress_size: loading... uploads_path: /home/groton08/domains/flxweather.com/public_html/wp-content/uploads uploads_size: loading... themes_path: /home/groton08/domains/flxweather.com/public_html/wp-content/themes themes_size: loading... plugins_path: /home/groton08/domains/flxweather.com/public_html/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading... ### wp-dropins (1) ### advanced-cache.php: true ### wp-active-theme ### name: FLWX (FLWX) version: 1.0.0 author: Drew Montreuil author_website: http://flxweather.com parent_theme: Virtue - Premium (virtue_premium) theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, menus, title-tag, automatic-feed-links, editor-style, editor-color-palette, align-wide, responsive-embeds, woocommerce, widgets theme_path: /home/groton08/domains/flxweather.com/public_html/wp-content/themes/FLWX auto_update: Disabled ### wp-parent-theme ### name: Virtue - Premium (virtue_premium) version: 4.9.34 author: Kadence WP author_website: https://www.kadencewp.com/ theme_path: /home/groton08/domains/flxweather.com/public_html/wp-content/themes/virtue_premium auto_update: Disabled ### wp-plugins-active (31) ### Admin Menu Editor: version: 1.9.10, author: Janis Elsts, Auto-updates disabled All In One WP Security: version: 4.4.9, author: Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy, Auto-updates enabled Anti-Spam by CleanTalk: version: 5.162, author: СleanTalk , Auto-updates enabled Check & Log Email: version: 1.0.3, author: WPChill, Auto-updates enabled Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates enabled Classic Widgets: version: 0.2, author: WordPress Contributors, Auto-updates disabled Cyclone Slider Pro: version: 2.10.4, author: Nico Amarilla, Auto-updates disabled Display Posts: version: 3.0.2, author: Bill Erickson, Auto-updates enabled Facebook for WordPress: version: 3.0.6, author: Facebook, Auto-updates enabled Give - Donation Plugin: version: 2.14.0, author: GiveWP, Auto-updates enabled Give - Email Reports: version: 1.1.4, author: GiveWP, Auto-updates enabled Give - Fee Recovery: version: 1.8.0, author: GiveWP, Auto-updates enabled Give - Recurring Donations: version: 1.11.6, author: GiveWP, Auto-updates enabled Give - Stripe Gateway: version: 2.2.14, author: GiveWP, Auto-updates enabled Give - Zapier: version: 1.3.2, author: GiveWP, Auto-updates enabled Insert PHP: version: 1.3, author: Will Bontrager Software, LLC , Auto-updates disabled Jetpack: version: 10.1, author: Automattic, Auto-updates enabled LiteSpeed Cache: version: 4.4.2, author: LiteSpeed Technologies, Auto-updates enabled Official StatCounter Plugin: version: 2.0.6, author: Aodhan Cullen, Auto-updates enabled Page Builder by SiteOrigin: version: 2.14.1, author: SiteOrigin, Auto-updates enabled PHP Code Widget: version: 2.3, author: Otto, Auto-updates enabled Pods - Custom Content Types and Fields: version: 2.7.31, author: Pods Framework Team, Auto-updates disabled ProfilePress: version: 3.1.19, author: ProfilePress Team, Auto-updates enabled SiteOrigin Widgets Bundle: version: 1.23.1, author: SiteOrigin, Auto-updates enabled Smush: version: 3.9.0, author: WPMU DEV, Auto-updates enabled UpdraftPlus - Backup/Restore: version: 1.16.62, author: UpdraftPlus.Com, DavidAnderson, Auto-updates enabled WPForms Lite: version: 1.6.9, author: WPForms, Auto-updates enabled WP Mail Logging: version: 1.9.9, author: Wysija, Auto-updates enabled WPSSO Core (Premium): version: 9.0.1, author: JS Morisset, Auto-updates enabled WPSSO Ridiculously Responsive Social Sharing Buttons: version: 7.2.1, author: JS Morisset, Auto-updates enabled WPSSO Update Manager: version: 4.6.0, author: JS Morisset, Auto-updates enabled ### wp-plugins-inactive (1) ### Custom Post Type UI: version: 1.9.2, author: WebDevStudios, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1808 imagemagick_version: ImageMagick 7.1.0-0 Q16 x86_64 2021-06-02 https://imagemagick.org imagick_version: 3.4.4 file_uploads: File uploads is turned off post_max_size: 64M upload_max_filesize: 64M max_effective_size: 64 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 16 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 3072 imagick::RESOURCETYPE_MAP: 16 GB imagick::RESOURCETYPE_MEMORY: 8 GB imagick::RESOURCETYPE_THREAD: 6 imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, B, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YAML, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 3.10.0 x86_64 httpd_software: LiteSpeed php_version: 7.3.28 64bit php_sapi: litespeed max_input_variables: 1000 time_limit: 30 memory_limit: 256M max_input_time: 60 upload_max_filesize: 64M php_post_max_size: 64M curl_version: 7.29.0 NSS/3.53.1 suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.33 client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/groton08/domains/flxweather.com/public_html/wp-content WP_PLUGIN_DIR: /home/groton08/domains/flxweather.com/public_html/wp-content/plugins WP_MEMORY_LIMIT: 256M WP_MAX_MEMORY_LIMIT: 256M 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 ### jetpack ### site_id: 84081616 ssl_cert: No time_diff: undefined version_option: 10.1:1631036337 old_version: 10.0:1628028832 public: Public master_user: #1 Drew current_user: #1 Drew tokens_set: Blog User blog_token: V#eJLzSt7(X(!zOa!Estk^&gla0C2Kea user_token: ILvCFW(eozCD7LApLtRn2RjaX8CUTlRL version: 10.1 jp_plugin_dir: /home/groton08/domains/flxweather.com/public_html/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/flxweather.com","siteurl":"https:\/\/flxweather.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. ### wpforms ### version: 1.6.9 lite: Jun 17, 2021 @ 8:08am upload_dir: Writable db_tables: wp_wpforms_tasks_meta total_forms: 6 total_submissions: 232 ### pods ### pods-server-software: LiteSpeed pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0 pods-session-save-path: undefined pods-session-save-path-exists: No pods-session-save-path-writable: No 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: No pods-object-cache-memcache: No pods-object-cache-memcached: No pods-object-cache-redis: No pods-memory-current-usage: 37.413M pods-memory-current-usage-real: 6.000M pods-network-wide: No pods-install-location: /home/groton08/domains/flxweather.com/public_html/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 ```json {"meta":{"version":"2.7.31","build":1633389637},"pods":{"22696":{"id":22696,"name":"test","label":"tests","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":1,"label_singular":"test","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1"},"22694":{"id":22694,"name":"weather_update","label":"Weather Updates","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"expires":{"id":22695,"name":"expires","label":"expires","description":"","help":"","class":"","type":"datetime","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"1","datetime_type":"wp","datetime_format":"mdy","datetime_time_type":"wp","datetime_time_format":"h_mm_A","datetime_time_format_24":"hh_mm","datetime_allow_empty":"0","datetime_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":"1","unique":"0","datetime_repeatable":"0","datetime_format_custom":"","datetime_format_custom_js":"","datetime_time_format_custom":"","datetime_time_format_custom_js":"","datetime_year_range_custom":""}},"show_in_menu":"1","label_singular":"Weather Update","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"weather_update","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":"1","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"1","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","supports_jetpack_publicize":"0","supports_jetpack_markdown":"0","built_in_taxonomies_category":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_portfolio-tag":"0","built_in_taxonomies_portfolio-type":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_staff-group":"0","built_in_taxonomies_testimonial-group":"0","built_in_taxonomies_wp_theme":"0","menu_position":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","rest_enable":"0","read_all":"0","write_all":"0","menu_icon":"dashicons-cloud"}}} ```
sc0ttkclark commented 3 years ago

If you have a staging site, can you test this with Pods 2.8 RC 1? Testing instructions and other information can be found here: https://pods.io/2021/02/11/pods-2-8-beta-1-released-and-the-field-guide-to-pods-2-8/

FLXweather commented 3 years ago

I can confirm that this is not an issue in 2.8. The new date/time selector works as expected.

Thanks!