• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: AjaxDatePicker - can't use b || B
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: AjaxDatePicker - can't use b || B


  • Subject: Fwd: AjaxDatePicker - can't use b || B
  • From: Calven Eggert <email@hidden>
  • Date: Tue, 16 May 2017 11:05:38 -0400

Anyone familiar with the AjaxDatePicker?

I’ve narrowed down my problem to the following line in the calendar.js file in the function string_to_date:
var result = Date.parseExact(s, [dateOrder]);

The parsing of the date doesn’t work properly with some formats (even the default one) it returns null and therefore, uses the current date.  It used to, and the AjaxExample here (http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample.woa/1/wo/VrPvtPdTQHbyR0L5j9srB0/2.0.69) works fine.


Any suggestions?  Anyone using a different calendar popup window?



Begin forwarded message:

From: Calven Eggert <email@hidden>
Subject: AjaxDatePicker - can't use b || B
Date: May 15, 2017 at 2:05:00 PM EDT
To: WebObjects-Dev <email@hidden>

Hi, All

The AjaxDatePicker with the month format of %b doesn’t work for me.  (%B doesn’t work either.  It does work with %m)

Using %b, it displays properly in the field (For example: 14-Jan-2017) however, when you click on the field to display the calendar, instead of showing my January month  it shows the current date (May 15).

Does someone else use the %b or %B format successfully?

Calven


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Abandoning AjaxDatePicker for JQuery?
      • From: Calven Eggert <email@hidden>
References: 
 >AjaxDatePicker - can't use b || B (From: Calven Eggert <email@hidden>)

  • Prev by Date: Re: data backup question
  • Next by Date: Re: data backup question
  • Previous by thread: AjaxDatePicker - can't use b || B
  • Next by thread: Abandoning AjaxDatePicker for JQuery?
  • Index(es):
    • Date
    • Thread