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

"Simulate time" from Admin Panel not working with realurl #515

Open
zappzarapp opened this issue Aug 2, 2017 · 0 comments
Open

"Simulate time" from Admin Panel not working with realurl #515

zappzarapp opened this issue Aug 2, 2017 · 0 comments

Comments

@zappzarapp
Copy link

Hi,

when using the admin panel to set a preview date with realurl enabled it always ends up to simulate "0:00 1-1-1970" The issue seems to be that the get vars from the Admin Panel are submitted like this:

Array (
[TSFE_ADMIN_PANEL[preview_simulateDate]] => 1501680553
[TSFE_ADMIN_PANEL[preview_simulateDate]_hr] => 13:29+2-8-2017
)

In the process of realurl where an array of the params gets created it ends up to "drop" the _hr param and end up with the wrong value in the "preview_simulateDate" Parameter:

[TSFE_ADMIN_PANEL][preview_simulateDate] => 13:29+2-8-2017

I'm not quite sure if this shouldn't be also changed in the core to be something like [TSFE_ADMIN_PANEL[preview_simulateDate][hr]] but maybe there is a possibilty to fix it in realurl that these values don't get manipulated like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant