pods
pods copied to clipboard
DateTime field adding one day after saving (between time of 00:00 and 00:59)
Description
When using a datetime field with the "standard" datetime picker (not HTML5), then one day is always added if the time is between 00:00 and 01:00 (so at 00:00 and 00:01 and 00:02 ... to 00:59). After saving the post and then reopening the just saved post this becomes visible.
If I set the field to use the HTML5 input, everything works as expected.
Watch this video (length 3:20 min): https://share.vidyard.com/watch/SGEHpEtAfURzjBxdUJe33r
Version
3.0.6
Testing Instructions
Watch this video (length 3:20 min): https://share.vidyard.com/watch/SGEHpEtAfURzjBxdUJe33r
Screenshots / Screencast
Watch this video (length 3:20 min): https://share.vidyard.com/watch/SGEHpEtAfURzjBxdUJe33r
Possible Workaround
Use the HTML5 setting for the specified field:
Site Health Information
`
### wp-core ###
version: 6.3.2
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true
### wp-paths-sizes ###
wordpress_path: /www/htdocs/v089965/podstest.formlos.design
wordpress_size: 55,71 MB (58412412 bytes)
uploads_path: /www/htdocs/v089965/podstest.formlos.design/wp-content/uploads
uploads_size: 0,00 B (0 bytes)
themes_path: /www/htdocs/v089965/podstest.formlos.design/wp-content/themes
themes_size: 12,35 MB (12952099 bytes)
plugins_path: /www/htdocs/v089965/podstest.formlos.design/wp-content/plugins
plugins_size: 9,01 MB (9443486 bytes)
database_size: 2,08 MB (2179072 bytes)
total_size: 79,14 MB (82987069 bytes)
### wp-active-theme ###
name: Twenty Twenty-Three (twentytwentythree)
version: 1.2
author: Das WordPress-Team
author_website: https://de.wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor
theme_path: /www/htdocs/v089965/podstest.formlos.design/wp-content/themes/twentytwentythree
auto_update: Deaktiviert
### wp-themes-inactive (2) ###
Twenty Twenty-One: version: 1.9, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
Twenty Twenty-Two: version: 1.5, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
### wp-plugins-active (1) ###
Pods - Custom Content Types and Fields: version: 3.0.6, author: Pods Framework Team, Automatische Aktualisierungen deaktiviert
### wp-plugins-inactive (2) ###
Akismet Anti-spam: Spam Protection: version: 5.3, author: Automattic - Anti-spam Team, Automatische Aktualisierungen deaktiviert
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Automatische Aktualisierungen deaktiviert
### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1690
imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 200M
upload_max_filesize: 200M
max_effective_size: 200 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 31 GB
imagick::RESOURCETYPE_DISK: 1.84467440737E+19
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 31 GB
imagick::RESOURCETYPE_MEMORY: 16 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 1.84467440737E+19
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.2.5
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.50
### wp-server ###
server_architecture: Linux 5.4.0-164-generic x86_64
httpd_software: Apache
php_version: 8.2.9 64bit
php_sapi: fpm-fcgi
max_input_variables: 3000
time_limit: 30
memory_limit: 256M
max_input_time: 60
upload_max_filesize: 200M
php_post_max_size: 200M
curl_version: 7.68.0 OpenSSL/1.1.1f
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2023-10-17T11:43:06+00:00
utc-time: Tuesday, 17-Oct-23 11:43:06 UTC
server-time: 2023-10-17T13:43:05+02:00
### wp-database ###
extension: mysqli
server_version: 10.5.22-MariaDB-1:10.5.22+maria~ubu2004-log
client_version: mysqlnd 8.2.9
max_allowed_packet: 67108864
max_connections: 500
### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /www/htdocs/v089965/podstest.formlos.design/wp-content
WP_PLUGIN_DIR: /www/htdocs/v089965/podstest.formlos.design/wp-content/plugins
WP_MEMORY_LIMIT: 40M
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_ENVIRONMENT_TYPE: Nicht definiert
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
### pods ###
pods-server-software: Apache
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
pods-session-save-path: /usr/share/cgi-fpm/v089965/tmp/
pods-session-save-path-exists: Ja
pods-session-save-path-writable: Ja
pods-session-max-lifetime: 7200
pods-opcode-cache-apc: Nein
pods-opcode-cache-memcached: Nein
pods-opcode-cache-opcache: Ja
pods-opcode-cache-redis: Nein
pods-object-cache-apc: Nein
pods-object-cache-apcu: Nein
pods-object-cache-memcache: Nein
pods-object-cache-memcached: Nein
pods-object-cache-redis: Nein
pods-memory-current-usage: 44,686M / 40M
pods-memory-current-usage-real: 46,000M
pods-network-wide: Nein
pods-install-location: /wp-content/plugins/pods/
pods-developer: Nein
pods-tableless-mode: Nein
pods-relationship-table-enabled: Ja
pods-relationship-table-status: 0
pods-light-mode: Nein
pods-strict: Nein
pods-allow-deprecated: Ja
pods-api-cache: Ja
pods-shortcode-allow-evaluate-tags: Nein
pods-sessions: Deaktiviere Sitzungen
pods-can-use-sessions: Ja
pods-settings-types_only: Nein
pods-settings-watch_changed_fields: Nein
pods-settings-metadata_integration: Ja
pods-settings-metadata_override_get: Nein
`
Pods Package
{
"@meta": {
"version": "3.0.6",
"build": 1697542960
},
"settings": {
"types_only": "0",
"watch_changed_fields": "0",
"metadata_integration": "1",
"metadata_override_get": "0",
"media_modal_fields": "0",
"session_auto_start": "0",
"wisdom_opt_out": "",
"active_components": [
"migrate-packages",
"templates"
]
},
"pods": [
{
"name": "event",
"id": 6,
"label": "Events",
"description": "",
"type": "post_type",
"storage": "meta",
"label_singular": "Event",
"public": "1",
"show_ui": "1",
"rest_enable": "1",
"supports_title": "1",
"supports_editor": "1",
"_migrated_28": "1",
"pick_object": "custom-simple",
"required": "0",
"groups": [
{
"name": "weitere_felder",
"id": 7,
"label": "Weitere Felder",
"description": "",
"weight": 0,
"fields": [
{
"name": "start",
"id": 8,
"label": "Start",
"description": "",
"weight": 0,
"type": "datetime",
"sister_id": "-- Ausw\u00e4hlen --",
"required": "1",
"datetime_type": "format",
"datetime_format": "ymd_dash",
"datetime_time_type": "24",
"datetime_time_format": "h_mma",
"datetime_time_format_24": "hh_mm",
"datetime_allow_empty": "1",
"datetime_html5": "0",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1"
},
{
"name": "end",
"id": 9,
"label": "End",
"description": "",
"weight": 1,
"type": "datetime",
"sister_id": "-- Ausw\u00e4hlen --",
"required": "1",
"datetime_type": "format",
"datetime_format": "ymd_dash",
"datetime_time_type": "24",
"datetime_time_format": "h_mma",
"datetime_time_format_24": "hh_mm",
"datetime_allow_empty": "1",
"datetime_html5": "0",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1"
}
]
}
]
}
]
}