Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359337 - DateTimeLib method has to be changed in DojoDateTextBox and DojoTimeTextBox
Summary: DateTimeLib method has to be changed in DojoDateTextBox and DojoTimeTextBox
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 02:05 EDT by Huang Ji Yong CLA
Modified: 2017-02-23 14:15 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Huang Ji Yong CLA 2011-09-29 02:05:02 EDT
DojoDateTextBox & DojoTimeTextBox use many outdated DateTimeLib method in its external js file.
They have to be updated.
Comment 1 Huang Ji Yong CLA 2011-09-30 05:20:11 EDT
Hi Scott,
We use following functions in the js file in RBD
DateTimeLib.timeValue(string); 
DateTimeLib.timeOf(string);
DateTimeLib.dateValue(string); 

Is there any corresponding function in runtime of edt.
Comment 2 Justin Spadea CLA 2011-10-28 14:40:22 EDT
I fixed DojoDateTextBox.js to use the new API. It was needed for MVC. I did not update DojoTimeTextBox.js so I'm leaving this open.
Comment 3 Xiao Bin Chen CLA 2011-11-01 03:54:04 EDT
Fixed.

changed those function used in RBD to EDT

Two files changed:
edt_runtime.js
DojoTimeTextBox.js
Comment 4 Brian Svihovec CLA 2011-11-01 11:25:40 EDT
Regarding DojoTimeTExtBox, we should create a work item for 1.0 to modify this widget to use the Time type when it is re-introduced.
Comment 5 Huang Ji Yong CLA 2011-11-11 00:09:55 EST
Verified in 201111092101
Open enhancement 363552.