Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8854837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:58:34+00:00 2026-06-14T13:58:34+00:00

Working with Symfony2.0 and jQuery, I have a web application that in certain moment

  • 0

Working with Symfony2.0 and jQuery, I have a web application that in certain moment has to save some date data in database.

It works in Safari, Firefox and Chrome for Mac. And it works in Internet explorer, Firefox for Windows.

The problem comes ONLY working with Chrome for Windows.

And I know where the problem comes from, although I don’t know how to solve it.

Easy: I get the Date from javascript:

var my_date = new Date();

In the browsers that it works, my_dates values:

Mon Nov 19 2012 21:47:41 GMT+0100 (CET)

In the browser that it doesn’t work (just Chrome for Windows), my_dates values:

Mon Nov 19 2012 21:47:41 GMT+0100 (Hora estándar romance)

Then, in the server side, php says:

DateTime::__construct(): Failed to parse time string(Mon Nov 19 2012 21:47:41 GMT+0100 (Hora estándar romance)) at position 40(e): Double timezone specification.

So, on the one hand, Chrome for windows is generating that (Hora estándar romance). And on the other hand PHP is sort of finding that I am passing two timezone specifications.

Anyone knows how to solve this any on client or in server side? (or both)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T13:58:35+00:00Added an answer on June 14, 2026 at 1:58 pm

    You probably want to pass not the Date object, but rather something like my_dates.toTimeString() or some other conversion to something more machine-readable (like my_dates.valueOf() perhaps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an in-house project management web based application that needs to support
I am currently working on a Symfony2 project that at some point involves submitting
I am working on my test application in symfony2 with sqlite. I have install
I'm working on a Symfony2 application, that I use to manage my monthly budget.
I'm working on a large Symfony2 app that has the following bundles (all under
I'm working with a legacy database while re-building the web application. I want to
I'm working on a symfony2 backend for a backbone.js application. I have my model
I am working on symfony2 and currently creating an application with it, I can
I'm working on a Symfony2 application with an API available for other applications. I
I have installed the HerzultFourmBundle into my Symfony2 application, added the calls in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.