Add function to datetime module to convert milliseconds since epoch to dateTime
Bug #1108546 reported by
Paul J. Lucas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Paul J. Lucas |
Bug Description
There ought to be a function that converts the number of milliseconds since epoch to an xs:dateTime.
Related branches
lp:~paul-lucas/zorba/bug-1108546
- Matthias Brantner: Approve
- Paul J. Lucas: Approve
-
Diff: 343 lines (+177/-0)15 files modifiedChangeLog (+1/-0)
modules/com/zorba-xquery/www/modules/datetime.xq (+11/-0)
src/functions/pregenerated/func_datetime.cpp (+22/-0)
src/functions/pregenerated/func_datetime.h (+15/-0)
src/functions/pregenerated/function_enum.h (+1/-0)
src/runtime/datetime/datetime_impl.cpp (+28/-0)
src/runtime/datetime/pregenerated/datetime.cpp (+28/-0)
src/runtime/datetime/pregenerated/datetime.h (+32/-0)
src/runtime/pregenerated/iterator_enum.h (+1/-0)
src/runtime/spec/datetime/datetime.xml (+12/-0)
src/runtime/visitors/pregenerated/planiter_visitor.h (+5/-0)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+14/-0)
src/runtime/visitors/pregenerated/printer_visitor.h (+3/-0)
test/rbkt/ExpQueryResults/zorba/datetime/datetime-millis-to-dateTime-1.xml.res (+1/-0)
test/rbkt/Queries/zorba/datetime/datetime-millis-to-dateTime-1.xq (+3/-0)
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.9 |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.