Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028607
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2015-01-14 11:132015-01-29 14:56
ReporteregoitzView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028607: The format method for smartclient is not formating properly the Date variables.

DescriptionThe format method for smartclient is not formating properly the Date variables.

That method is not used at Openbravo, but if you want create a manual window and you need to format the data with that method you will get an incorrect format.
Steps To ReproduceAccess to Openbravo and open the developers tools.

Case 1:
Write
var a = new Date('Wed Jan 07 2015 11:01:00 GMT+0000 ((GMT Standard Time)')
then
a.format('hh:mma');
You get 12:01 AM when you should get 12:01 PM

Case 2
Write
var a = new Date('Wed Jan 07 2015 23:01:00 GMT+0000 ((GMT Standard Time)');
then
a.format('hh:mma');
you get 00:01 AM when you should get 12:01 AM


TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0073904)
alostale (manager)
2015-01-29 14:56

Moved to design defect as it is an SmartClient issue, reported here: http://forums.smartclient.com/showthread.php?t=32203 [^]

- Issue History
Date Modified Username Field Change
2015-01-14 11:13 egoitz New Issue
2015-01-14 11:13 egoitz Assigned To => AugustoMauch
2015-01-14 11:13 egoitz Modules => Core
2015-01-14 11:13 egoitz Resolution time => 1427839200
2015-01-14 11:13 egoitz Triggers an Emergency Pack => No
2015-01-14 12:46 egoitz Description Updated View Revisions
2015-01-29 14:56 alostale Resolution time 1427839200 =>
2015-01-29 14:56 alostale Note Added: 0073904
2015-01-29 14:56 alostale Type defect => design defect


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker