Maximo Open Forum

 View Only
  • 1.  Customization of Date Format in IBM Mobile App

    Posted 04-30-2025 11:07

    Hello Maximo Open Forum,

    I have a question regarding the IBM Mobile customization for reading date formats. When starting and stopping a timer, the Labor Approval screen is displayed, showing both the date/time and duration. On our tablets, the native app currently displays the time with AM/PM at the bottom of the time field. We would like to modify it so that the AM/PM is displayed on the same line as the time, horizontally. 

    Could you please guide me to where in the code the date/time format is controlled?

    Note, even when we turn the tablet in landscape, AM/PM is displayed under the time.

    Thank you in advance for your help!


    #Mobility

    ------------------------------
    MARK FRITZ
    GM
    ------------------------------


  • 2.  RE: Customization of Date Format in IBM Mobile App

    Posted 05-15-2025 15:45

    I have been trying to recreate the issue, but I have been struggling. I have tried to mimic different resolutions in developer tools and resizing the windows, but it seems that any time I cross the threshold it puts it into the small width which causes it to expand to 100% of the space and prevents the issue. I'm pasting what it is out of the box in case the sizing has changed in your environment.

    the large-width is likely the column size when you are in landscape. In the example below the column is 50%. If you don't have it as 50 & 50 I would change it to that. But if you do, you could try to change it to 60 & 40 for example and see if that makes a difference. 

                  <top id="bx268">
                    <adaptive-row id="kd7ew">
                      <adaptive-column large-width="50" medium-width="50" small-width="100" small-horizontal-align="start" medium-horizontal-align="start" large-horizontal-align="start" id="pxjp5">
                        <box id="w9ww9">
                          <box direction="row" horizontal-align="start" fill-parent="true" id="qpqjr">
                            <field label="Start date and time" id="w_ge5">
                              <sub-field value="{woLaborDetaildsOnSchedule.item.startdate}" type="date_full_month" id="jaq36"/>
                            </field>
                            <label label="at" hidden="{!woLaborDetaildsOnSchedule.item.starttime}"  id="m_4e6"/>
                            <field hidden="{!woLaborDetaildsOnSchedule.item.starttime}" id="w5xg8">
                              <sub-field value="{woLaborDetaildsOnSchedule.item.starttime}" type="time" id="mq_d3"/>
                            </field>
                          </box>
                        </box>
                      </adaptive-column>
                      <adaptive-column large-width="50" medium-width="50" small-width="100" small-horizontal-align="start" medium-horizontal-align="start" large-horizontal-align="start" id="v5gyv">
                        <field label="Duration" id="ngq86">
                          <sub-field value="{woLaborDetaildsOnSchedule.item.regularhrs}" type="duration_long" id="ye7w7"/>
                        </field>
                      </adaptive-column>
                    </adaptive-row>
                  </top>


    ------------------------------
    Steven Shull
    Naviam
    ------------------------------



  • 3.  RE: Customization of Date Format in IBM Mobile App

    Posted 05-19-2025 08:26

    Thanks Steven,

     

    I will test these changes out,

     

    Mark

     

     

                              GM Mobility / MAS Mobile Share point: Mobility Share Point Site

     

     






Newest Episode
Ep. 5 | Make Manage Feel Like Home with Configuration, Not Customization

Watch Steven Shull and Phil Runion discuss how IBM Maximo Manage teams can make the system feel more familiar, useful, and aligned to their business through configuration instead of customization.

MORE by Naviam Episode 5 cover
Watch Episode 5
Also available: Ep. 4 | System Properties in IBM Maximo