Revision as of 11:58, 1 July 2016 by Mark (talk | contribs) (Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Action_Library <code>gn:act_convertTimestampToFormat</code> is used to convert timestam...")
Contents
gn:act_convertTimestampToFormat
is used to convert timestamp (numerical value) from certain widget to human readable format.
- Can be used on widgets
- any widget
- Event trigger for action
- no event, must be used in action set or conditional action.
- Can be used as
- a no event action
- Additional required attributes on bound widget
- none
- Additional required attributes on other widgets
- none
Action signature
[gn:act_convertTimestampToFormat]|[@+id/sourceWidget,@+id/targetWidget,format]
Value field content
sourceWidget
- defines widget from which data is retrieved for conversion.
- Currently implemented for:
GnEditText
– value inGnEditText
must be timestamp
targetWidget
- widget into which converted timestamp will be stored.
- Currently implemented for:
format
- acceptable formats can be found here
- i.e.
"dd.MM.yyyy hh:mm"
- i.e.