Commit Graph
4 Commits
Author SHA1 Message Date
Jacques Le Roux a3ebcd8855 I discovered while using trunk demo that getServerTimestampAsLong is not enough. Because Javascript always creates the dates without taking into account the TimeZone. I mean there are OOTB no ways to do otherwise and date.format.js does not help. This makes sense from a HTTP client perspective, but nowadays it's really aging with Ajax, etc.
Fortunately there is a miraculous script which helps much: date.timezone.js. I have introduced it with a getServerTimeZone service. I tested locally by setting another timezone on another machine and it worked. I will now test it on trunk, I don't expect any issues

I also cleaned the NOTICE for famfamfam




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1432577 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 10:22:09 +00:00
Jacques Le Roux 7796afcc18 At Adrian's request: clarify getServerTimestamp service with now a new getServerTimestampAsLong specific to the webtools jobs list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1427819 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 15:05:17 +00:00
Jacques Le Roux 7fbfa59de1 Server hour on webtools jobs list: no functional changes, just a trivial refactoring of ServerHour24HourFormatJs.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1427247 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 21:59:04 +00:00
Jacques Le Roux 4bc9aff69c Complete the server hour on webtools jobs list, with the help of Adrian and Atul
Remarks: 
* Finally date.format-1.2.3-min.js is quite useful
* I renamed the getServerHour service to getServerTimestamp. It now returns a Long, easier to parse to a date in javascript
* I renamed WindowClockJs.ftl to ServerHour24HourFormatJs.ftl

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1427233 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 19:50:54 +00:00