Skip to content
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

Backslash in custom date format is automatically removed #5366

Open
lcswillems opened this issue May 2, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@lcswillems
Copy link

commented May 2, 2019

Describe the bug
If I want to use custom date format and I want to display a date as "18h15", I need to write "H\hi" to get the correct output. When I save the Pod, "H\hi" is transformed into "H\hi" automatically, and if I save again, into "Hhi", what leads to something I don't want.

Pods Version

2.7.12

WordPress Environment

``` WordPress Version: 5.1.1

PHP Version: 7.2.17-0ubuntu0.18.10.1

MySQL Version: 5.7.25

Server Software: Apache/2.4.34 (Ubuntu)

Your User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36

Session Save Path: /var/lib/php/sessions

Session Save Path Exists: Yes

Session Save Path Writeable: Yes

Session Max Lifetime: 1440

Opcode Cache:

Apc: No
Memcached: No
OPcache: Yes
Redis: No
Object Cache:

APC: No
APCu: No
Memcache: No
Memcached: No
Redis: No
WPDB Prefix: wp_

WP Multisite Mode: No

WP Memory Limit: 40M

Current Memory Usage: 28,608M

Current Memory Usage (real): 6,000M

Pods Network-Wide Activated: No

Pods Install Location: /mnt/Data/Documents/Travail/Personnel/Projets/Ouverts/sapt/Www/wp-content/plugins/pods/

Pods Tableless Mode Activated: No

Pods Light Mode Activated: No

Currently Active Theme: OceanWP Child

Currently Active Plugins:

Analytify - Google Analytics Dashboard: 2.2.12
Automatic Featured Images from YouTube / Vimeo: 1.1.1
Custom Post Type Permalinks: 3.3.1
Disqus for WordPress: 3.0.17
Duplicator: 1.3.10
Ele Custom Skin: 1.0.9
Elementor: 2.5.14
Elementor Pro: 2.5.6
Elementor Tabify: 1.0.0
FacetWP (Perso): 3.2.12-dev
Gutenberg: 5.6.1
My WP Customize Admin/Frontend: 1.11
Pods - Custom Content Types and Fields: 2.7.12
Yoast SEO: 11.1

</details>
@issue-label-bot

This comment has been minimized.

Copy link

commented May 2, 2019

Issue-Label Bot is automatically applying the label Type: Bug to this issue, with a confidence of 0.67. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the Type: Bug label May 2, 2019

@lcswillems lcswillems changed the title Backslash in custom date format is removed Backslash in custom date format is automatically removed May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.