View Issue Details

IDProjectCategoryView StatusLast Update
0026299RunnerFunctionsPublic2017-08-02 15:03
ReporterStewart BishopAssigned ToFritz 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version 
Target VersionFixed in Version 
Summary0026299: Functions: date_get_week returns different weeks for specific dates depending on platform
DescriptionWhen investigating other date issues I noticed that date_get_week will always return a different date per platform eg 01/07/2015 will return 25 on Windows, 26 on HTML5 and if I check the week of the year on an external website it'll return 27.

This could be potentially down to how platforms do dates but ideally we should have some consistency.
Steps To Reproduce1) Run attached sample on Windows
2) Run attached sample on HTML5
1.4 Found In
2.x Runtime Found In2.0.6.72
2.x Runtime Verified In2.1.0.124

Activities

Stewart Bishop

2017-04-24 17:18

Adminstrator  

gmtest-dates.yyz (1,216,045 bytes)

Mike Dailly

2017-05-17 21:48

Manager   ~0053183

HTML5 is actually correct, Native is wrong.

Web page that returns week of year. 7/1/2015 = 26
http://www.onlineconversion.com/day_week_number.htm