Highlighted

Date picker day is incorrect.

New Here ,
Jun 30, 2020

Copy link to clipboard

Copied

I am using the date picker calendar in a form on a MacOS 10.15.5 with Adobe Acrobat Pro DC 2020.009.20067.  The customs format is dddd mmmm dd yyyy. When a date is picked the initial day is incorrect, however, when the date is selected the correct day is shown. 

Sunday -> Monday

Monday -> Tuesday

Tuesday -> Wednesday

Wednesday -> Thursday 

Thursday -> Friday

Friday -> Saturday 

Saturday -> Jan

 

Screen Shot 2020-06-30 at 1.35.55 PM.pngScreen Shot 2020-06-30 at 1.36.08 PM.png

Screen Shot 2020-06-30 at 1.36.20 PM.pngScreen Shot 2020-06-30 at 1.36.29 PM.png

Screen Shot 2020-06-30 at 1.36.41 PM.pngScreen Shot 2020-06-30 at 1.36.47 PM.png

The pictures above show the wrong day being displayed during the picking process and the correct day being displayed after the date is selected. The problem is further compounded with console.println(this.getField("Date_af_date").value); displaying Jan June 27 2020 (the incorrect day).

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

56

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Date picker day is incorrect.

New Here ,
Jun 30, 2020

Copy link to clipboard

Copied

I am using the date picker calendar in a form on a MacOS 10.15.5 with Adobe Acrobat Pro DC 2020.009.20067.  The customs format is dddd mmmm dd yyyy. When a date is picked the initial day is incorrect, however, when the date is selected the correct day is shown. 

Sunday -> Monday

Monday -> Tuesday

Tuesday -> Wednesday

Wednesday -> Thursday 

Thursday -> Friday

Friday -> Saturday 

Saturday -> Jan

 

Screen Shot 2020-06-30 at 1.35.55 PM.pngScreen Shot 2020-06-30 at 1.36.08 PM.png

Screen Shot 2020-06-30 at 1.36.20 PM.pngScreen Shot 2020-06-30 at 1.36.29 PM.png

Screen Shot 2020-06-30 at 1.36.41 PM.pngScreen Shot 2020-06-30 at 1.36.47 PM.png

The pictures above show the wrong day being displayed during the picking process and the correct day being displayed after the date is selected. The problem is further compounded with console.println(this.getField("Date_af_date").value); displaying Jan June 27 2020 (the incorrect day).

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

57

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 30, 2020 0
Adobe Community Professional ,
Aug 06, 2020

Copy link to clipboard

Copied

That is weird. I am not getting that problem on my end.

 

I did noticed that at the time that you posted this question you were missing a few updates in your Acrobat version.

 

So here's a few ideas:

 

  • Update Acrobat to its latest version update
  • If the problem persists after updating, can you confirm if this is happening with every PDF that you create or just that one document?
  • If the update didn't resolve the isse, can you also confirm if clicking on Help--->>> "Repair Installation resolves the issue?
  • If the repair installation method didn't resolve the issue don't use "Date_af_date" for a date field name. Right-click on the field, and select from the context menu "Rename". Don't use the field porperties dialogue box...I've noticed that when you change a date field name using the dialogue box it renames the field but doesn;t get rid of this part "_af_date"
  • Check what the localization, the time,  and the time zone and regional format data of your operating are set to 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 06, 2020 0
Adobe Community Professional ,
Aug 07, 2020

Copy link to clipboard

Copied

Is the field empty before you select a date?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2020 0
New Here ,
Aug 07, 2020

Copy link to clipboard

Copied

I had a default value in the date field.  I removed the default date and I still have the problem. The work around I am currently using is to type the date in the field and not pick it from the drop down calendar.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2020 0
New Here ,
Aug 07, 2020

Copy link to clipboard

Copied

  • Update Acrobat to its latest version update
    • I have updated 20.9.20074 and no change
  • If the problem persists after updating, can you confirm if this is happening with every PDF that you create or just that one document?
    • I have the issue with every PDF I create.
  • If the update didn't resolve the isse, can you also confirm if clicking on Help--->>> "Repair Installation resolves the issue?
    • I cant find that option on my menu.
    • Screen Shot 2020-08-07 at 9.17.23 AM.png
  • If the repair installation method didn't resolve the issue don't use "Date_af_date" for a date field name. Right-click on the field, and select from the context menu "Rename". Don't use the field porperties dialogue box...I've noticed that when you change a date field name using the dialogue box it renames the field but doesn;t get rid of this part "_af_date"
    • I have several PDFs with various names for the date fields and they all have the same problem.
  • Check what the localization, the time,  and the time zone and regional format data of your operating are set to 
    • My time zone is correct and below is my localization info.
    • Screen Shot 2020-08-07 at 9.23.12 AM.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2020 0
ls_rbls LATEST
Adobe Community Professional ,
Aug 07, 2020

Copy link to clipboard

Copied

 

 

Use this guidance if  repairing the installation doesn't work(or is not included in Acrobat for macOS):

 

 

 

Additional troubleshooting tips here: 

 

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2020 0