[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Own Text Format RSS feed
Forum Index » tcMenu Designer UI
Author Message
NewOne


Joined: Oct 21, 2020
Messages: 19
Offline
Hey,
is it possible to create a new textformat by myself ? I need a time format, but without seconds. Only hours and minutes on the display.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Can you please respond on the following report of a critical bug: https://www.thecoderscorner.com/jforum/posts/list/95.page. We have tried to recreate this scenario both on the in-development version, and the production 1.7 version, we cannot recreate it, getCurrentValue always returns the right value. If you are still able to recreate this issue, please provide the library versions, board version from board manager, and the board that you are using.

In terms of the issue, it is more than possible, but it's not trivial, if you are used to C++ programming you could. Another option without waiting is to use a regular text field and format it yourself. However, we were thinking of adding duration anyway, so we could add this at the same time. Please feel free to comment on https://github.com/davetcc/tcMenuLib/issues/90
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
As per issue 90 in the above link, this will be out of the box in tcmenu 2.0. It will support HH:MM 24 hour, HH:MM:[AM/PM] 12 hour, and durations where the hours are only displayed if not 0.
 
Forum Index » tcMenu Designer UI
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.