Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Date Time in Alpha Version 8483

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Date Time in Alpha Version 8483

    Anyone notice this change of behavior in Alpha version 8483. I have a Cordova app. If I have a date time field, I can save the date and time in a field fine. The problem is when I sync (using MariaDB database). The date and time sync and appear fine on the server, but the field in the app now has the time cut off. See images below.

    Before Sync:
    001.jpg

    After Sync:
    002.jpg

    #2
    There have been changes....

    https://download.alphasoftware.com/R...o_present.html

    UX and Grid Components - Date Format property - Previously, the Date format property in UX and Grid properties was used to control how the user was expected to enter date/datetime values (and also to control how the Date Picker returned values if the format for the Date Picker had been set to <Default>). The default display format for date/datetime values was determined by the regional settings on the server.

    Now, the Date Format property in UX/Grid properties controls both how the user is expected to enter date values, but also how data bound UX controls (including List and ViewBox controls) and Grid components will display date and datetime values.
    An example of how this will work from now on is: if the regional settings on your server are configured to render dates in MM/dd/yyyy format (i.e. US format) and the Date format property in a UX component is set to dd.MM.yyyy then assuming the UX is data bound, any control that displays date or datetime values, will use the dd.MM.yyyy format (because that is the format that is set in the Date Formatproperty. In addition, List and ViewBox controls that display date or datetime values will use the dd.MM.yyyy format for the date part (again, because that is the setting for the Date Format property).
    Previously, the data would have been displayed in MM/dd/yyyy format because that is the format of dates on the server.
    NOTE: Previously, when a date or datetime field was added to a Grid component, a default Format display property was set to:
    time("{grid.clientSideDateFormat} 0h:0m 0s am",<value>).

    Therefore, the values displayed in the Grid were formatted as dd.MM.yyyy (because the Date Format property had been set to dd.MM.yyyy. However if the Display Format property was removed, the data in the Grid's date and datetime fields would use the MM/dd/yyyy format (if that was the server format)

    As a result of this change, when you add a date or datetime field to a Grid, the Display Format property is no longer set (because it is not needed).

    The benefit of this change in behavior is that it is now easier to create applications that deal with date and datetime values in a more intuitive manner.
    For example, say you have an app that is hosted on Alpha Cloud. The server format for dates on Alpha Cloud is MM/dd/yyyy. This means that if a developer is hosting their app on Alpha Cloud, date and datetime value in the application would by default be displayed in MM/dd/yyyy format. Any user of this app who was outside the US would likely expect the date and datetime values to be formatted in dd/MM/yyyy format.
    This is now easily achieved by setting the Date format property in the Grid or UX to <cultureDateFormat> (and if you also want to display dates with time values set the time part of the Date format to <cultureTimeFormat>).
    When a user in (say) the UK accesses this app, dates will be displayed in dd/MM/yyyy format (because the browser will automatically tell the server what culture to use. Similarly when a user in the US access the same app, dates will be displayed in MM/dd/yyyy format (because that is the format for dates if the culture is US).
    During development, the developer might want to know how dates will be rendered for users in any particular culture. If the Date Format is set to <cultureDateFormat>, a new property is displayed (Simulated culture). This allows you to simulate any culture.

    Comment


      #3
      Yes, I noticed there were some changes. In my UX, I have the Date Format as MM/dd/yyyy. I've always left the Time Format blank, but perhaps I can try filling it in and see if that helps.

      Comment


        #4
        I just upgraded to 8565 and am dealing with this for an app with a *lot* of date fields in it. Users immediately had problems entering a date value -- they kept getting the date/time values.

        Setting the web projects property for Server Side Date Format for UX and Grid Components now appears to let the users correctly type in a date value. But the date picker is still returning the date and time values to the date field.

        How to adjust the date picker to only return the date part? I want to return mm/dd/yyyy but can't find a property to do that.


        Edit: After more work/time with users I can refine this: I'd like the date picker to only display and return the date part for a control that is date type.
        Last edited by Steve Workings; 03-20-2023, 12:57 PM.
        -Steve
        sigpic

        Comment


          #5
          Setting the Date format in the Properties of the Date picker seems to work for me. I am on version 8483 though.
          Capture2.png

          Comment


            #6
            Rusty - I may try that, but was hoping for something that didn't require the editing and republishing of a large number of components.
            -Steve
            sigpic

            Comment


              #7
              Don't know who this change helped, but certainly not us. We have the same issue of over 600 components to change, an extremely time dependant application, 24 X 7 operation. The only thing that allows us to stay in business is to roll back to an earlier release. Wish Alpha would quit having these "hold my beer and watch this" ideas.
              Pat Bremkamp
              MindKicks Consulting

              Comment


                #8
                IT'S SCARY REALLY. Would have been better as an opt in.
                Insanity: doing the same thing over and over again and expecting different results.
                Albert Einstein, (attributed)
                US (German-born) physicist (1879 - 1955)

                Comment


                  #9
                  I have been developing a DT app for a USA user.
                  In A5 V4, there is a setting to change the format and that foxed me as in V11, there is no such setting.
                  In the UK, dates are dd/mm/yyyy, so I changed my windows setting to get everything to work.
                  Al B pointed out that nowadays, windows sets the format.
                  This looks like a bit of a backward step from Alpha.
                  See our Hybrid Option here;
                  https://hybridapps.example-software.com/


                  Apologies to anyone I haven't managed to upset yet.
                  You are held in a queue and I will get to you soon.

                  Comment


                    #10
                    Same with Language - Google has nailed that - language tags the same.
                    Insanity: doing the same thing over and over again and expecting different results.
                    Albert Einstein, (attributed)
                    US (German-born) physicist (1879 - 1955)

                    Comment


                      #11
                      Sausage fingers !
                      it was A4 V3 ​​​​​​​​​​​​​​

                      ​​​​​​​







                      See our Hybrid Option here;
                      https://hybridapps.example-software.com/


                      Apologies to anyone I haven't managed to upset yet.
                      You are held in a queue and I will get to you soon.

                      Comment


                        #12
                        agreed the date format should just cut the time portion out if AS wants to change it fine but there should be a clear separation between the 3 choices regardless of what is on the back end meaning "date - time - date& time"
                        NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                        Comment


                          #13
                          Looks like this change is more about dealing with everyone across the globe rather than just a US thing which is probably good in many ways - seems like it could be better determined in the project properties rather than as a "from now on" change since so many previously built applications may be hindered to move to the next release.
                          NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                          Comment

                          Working...
                          X