Time format for calendar events - Zooper Widget General

Having a problem getting the time to show as I want it when displaying calendar upcoming events. I want to use the 12 hour format with am/pm indication.
I put a dummy event in my calendar named TEST. I have entered code as follows "#C1SEEE HH:mma# #C1TITLE#". The display I get is "Tue 14:30PM TEST". What I want is "Tue 02:30PM TEST" How can I get the 14 to show as a 2?

Try hh not HH

CopKiller76 said:
Try hh not HH
Click to expand...
Click to collapse
Thank you!! That's exactly what I was looking for. Very simple when you understand the nuances.

Related

How To Set Zooper Widget To 12 Hour Clock

Can someone please tell me how to switch the time in Zooper Widget Pro to 12 hours instead of 24 hours?
I can't find it anywhere...
broad_st_bully said:
Can someone please tell me how to switch the time in Zooper Widget Pro to 12 hours instead of 24 hours?
I can't find it anywhere...
Click to expand...
Click to collapse
Broad please check the faq: http://zooper.org/wp/android/zw/faq
In particular:
How do i switch from AMPM to 24h and viceversa?
Every date field in Zooper Widget is completely customizable, if you want to switch from AMPM to 24H just press "Layout", select the module containing the piece you need to change, press "Edit Text" and replace KK with HH in the #D..# pattern. If you want more info on date field formatting please check the date reference.
Hope this helps!
broad_st_bully said:
Can someone please tell me how to switch the time in Zooper Widget Pro to 12 hours instead of 24 hours?
I can't find it anywhere...
Click to expand...
Click to collapse
Very simple just type #Dhh:mm# in text...
This will make 12 hour...for am pm add letter 'a' next to 'mm' in #...# text...
Sent from my C2104 using Tapatalk
Guys how could I make the time format in long form (10:30 = ten thirty) can't find it anywhere.
Thanks for the help
Just go to the layer with your clock and go under text conversion, and then select numbers to letters
Hope it helps

Calendar color

I'd like to color events for current day. Right now its colors my next event which is days away.
Ideas are appreciated.
admiral70 said:
I'd like to color events for current day. Right now its colors my next event which is days away.
Ideas are appreciated.
Click to expand...
Click to collapse
Use the following code as an advanced parameter on your calendar text field and put in the color you want to use as highlight:
Code:
$#C0SddMM#=#DddMM#?[c]<the_highlight_color_you_want[/c]$
If you display more than one event, you need to use this code on every module and replace C0 with C1, C2, ...
Thank you for the reply. Here is my dilemma, when it still highlights the next event even if it is not the current day. I was hoping to highlight only if the event is in the current day. Hope I am explaining this correctly.
Thank you for replying I appreciate it.
kwerdenker said:
Use the following code as an advanced parameter on your calendar text field and put in the color you want to use as highlight:
Code:
$#C0SddMM#=#DddMM#?[c]<the_highlight_color_you_want[/c]$
If you display more than one event, you need to use this code on every module and replace C0 with C1, C2, ...
Click to expand...
Click to collapse
admiral70 said:
Thank you for the reply. Here is my dilemma, when it still highlights the next event even if it is not the current day. I was hoping to highlight only if the event is in the current day. Hope I am explaining this correctly.
Thank you for replying I appreciate it.
Click to expand...
Click to collapse
This is exactly what the code is doing! It checks if the event dayMonth combo equals to todays dayMonth combo and only if that is true it sets the color of the text to the set highlight color.
Decided to get your calendar from your signature... Thank you
Perhaps that is the issue I need to mimic the advanced entry a little?
kwerdenker said:
Use the following code as an advanced parameter on your calendar text field and put in the color you want to use as highlight:
Code:
$#C0SddMM#=#DddMM#?[c]<the_highlight_color_you_want[/c]$
If you display more than one event, you need to use this code on every module and replace C0 with C1, C2, ...
Click to expand...
Click to collapse
kwerdenker said:
This is exactly what the code is doing! It checks if the event dayMonth combo equals to todays dayMonth combo and only if that is true it sets the color of the text to the set highlight color.
Click to expand...
Click to collapse

[Q] 1) Last (passed) Calendar Event 2) Widget Scroll

Hi all,
I've 2 questions about this fantastic App!:
1) Last (passed) Calendar Event
I've created a widget to display Calendar Events; it works ok but I've a request:
Is it possible to show last passed Event?
E.G. I set one event today from 8:00am to 9:00am
I see this event since 9:00am but after this time I don't see this event
Could Zooper show also this passed event?
If Z.W. couldn't I think this is a interesting thing to implement...
2) Widget (or element) Scroll
I read that Z.W. can't scroll ... but: is t possible to scroll text in RichText field?
This is the case:
In my calendar widget I use 1 RichText for every days to show the events in the day.
I've reserved 3 rows for every day (I "print" 1 event on every row) but if in a day I've more than 3 events I see only the first 3 events and I don't see 4th, 5th etc. events.
If RichText could scroll I will solve this problem
... If anyone know other alternative solution...
HyperAbarth said:
Hi all,
I've 2 questions about this fantastic App!:
1) Last (passed) Calendar Event
I've created a widget to display Calendar Events; it works ok but I've a request:
Is it possible to show last passed Event?
E.G. I set one event today from 8:00am to 9:00am
I see this event since 9:00am but after this time I don't see this event
Could Zooper show also this passed event?
If Z.W. couldn't I think this is a interesting thing to implement...
2) Widget (or element) Scroll
I read that Z.W. can't scroll ... but: is t possible to scroll text in RichText field?
This is the case:
In my calendar widget I use 1 RichText for every days to show the events in the day.
I've reserved 3 rows for every day (I "print" 1 event on every row) but if in a day I've more than 3 events I see only the first 3 events and I don't see 4th, 5th etc. events.
If RichText could scroll I will solve this problem
... If anyone know other alternative solution...
Click to expand...
Click to collapse
1) No, Zooper doesn't currently support access to past events. If you want to request it as a feature I would advise you to use the official channel here: http://zooper.themerapp.com/support/discussions/forums/268861
2) There is a trick to "scroll" things in Zooper by using an offset calculated from the current seconds/minutes but it's rather choppy and a huge battery hog. So it's do-able but not simple and - from my perspective - not really advisable.
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
HyperAbarth said:
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
Click to expand...
Click to collapse
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
kwerdenker said:
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
Click to expand...
Click to collapse
Thaks, you reaaly help me!
Regards.
kwerdenker said:
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
Click to expand...
Click to collapse
Thanks a lot!
I've Tasker but if you can give me the link of the app you've exported I can see it and try to understand
HyperAbarth said:
Thanks a lot!
I've Tasker but if you can give me the link of the app you've exported I can see it and try to understand
Click to expand...
Click to collapse
Since you have Tasker, I've exported my task as an XML. You can get it here https://www.dropbox.com/s/bziwrbw4azm04t3/Toggle.tsk.xml to import it on your device.
To use it you have to modify your current event modules in the following way
(You'll obviously have to substitute whatever you use to display your events, this is just meant to show the usage of the variable)
Code:
$#TVIEW#=0?#C0TITLE#:#C3TITLE#$
Then to toggle between them set the Task as a Tasker shortcut via the module or widget OnTap option in Zooper. Now you can switch between different display states with a tap on the widget.
Hope this is clear enough for you to understand. If not, just ask
Error, duplicated post. Sorry
I didn't have time to see your XML file I will download it ASAP; but:
How can I manage dates with Zooper?
Example; can I add Days to a date?
For example if today is the 30th Jan. 2014 can I add for example 3 and obtain 2nd feb. 2014?
I didn't find a way to do this in Zooper
Thanks in Advance.
I try to explain you the reason of this question:
I've for example 3 fields on the widget with 3 dates (today, Tomorrow and Day after Tomorrow)
I want to do this:
If I Tap on a field (e.g. "+") the control pass to Tasker and Tasker add a Day to 3 dates... the result is that the 3 fields with date will change the value
E. G.
1st field 15th gen 2014
2nd field 16th gen 2014
3rd field 17th gen 2014
If I tap on field "+" Tasker change the value of the variables and on the widget I will see:
1st field 16th gen 2014
2nd field 17th gen 2014
3rd field 18th gen 2014
... in this way I will create a scrollable calendar widget ... I didn't try to do this; I hope I will able to do this but my problem is that I explained on my question in the top of this post.
I Hope you understand my english
EDIT:
I find in Zooper how to manage "free date"; e.g. 4st of february 2014 at 01:00 is:
#D201402041000#
Then if I want display this date I can create a text like this:
#D201402041000 c dd-MM-yyyy#
and this is the result:
tue 04-02-2014
Now... With Tasker I can create a variable with this Value:
201402041000
E.G. Var1 = 201402041000
If in Zooper I set a Text with: #TVar1# I see:
201402041000
But if I set a text with: #D#TVar1# c dd-MM-yyyy# I see:
#D#TVar1# c dd-MM-yyyy#
Where is my mistake?
Is it possible in Zooper use a Variable like Date?
I've found my mistake; if I write:
#D$#TVar1#$ c dd-MM-yyyy#
It Work
I've found my mistake; if I write:
#D$#TVar1#$ c dd-MM-yyyy#
It Work

[Q] Calendar code questions - calendar event lookahead time

My current calendar code is the following:
Code:
#C0SEEE#: $#C0D#=1?All Day:#C0SHH.mm#$ | [tr=17]#C0TITLE#[/tr]
Is there a way to set calendar event lookahead time for seven days? I mean that if the next event is within the next 7 days, show it. If not, don't show it.
Also another question. Is it possible to show the event date if the event is not today and hide the date if event is today?
This can be done with Tasker. If you want, i can upload the profile that i use on my tab
drsood said:
This can be done with Tasker. If you want, i can upload the profile that i use on my tab
Click to expand...
Click to collapse
Sure, that would be nice. Can't it be done without Tasker?
If you write this code in Advanded Parameters
[c]$#C0STd#>7?#00000000$[/c]
text will be hided if it is more than seven days from now
cierzo said:
If you write this code in Advanded Parameters
[c]$#C0STd#>7?#00000000$[/c]
text will be hided if it is more than seven days from now
Click to expand...
Click to collapse
Thank you really much! I'll try that
Tasker profile
Eldmor said:
Sure, that would be nice. Can't it be done without Tasker?
Click to expand...
Click to collapse
Sorry for replying late. Was busy :cyclops:
Anyways, please find attached the profile I use.
A few things to note:
1) %caldays variable is set to value 0:6 currently. And that will show calendar entries for next 7 days. Change it to 0:13, for example, if you want to show the entries for next 14 days. Customize as per your need
2) In line 6, you can set the zooper variable as per your need. One very important thing here is that you need to add " °" next to %lup otherwise it wont work as expected
3) Create a Zooper richtext widget, click "edit text manually" and set it to
$#Tcalx#$
4)Dont set the tasker profile to update at 12:00 midnight, it doesnt work porperly. Just add a minute or 2 for it to work as expected
I hope its not too confusing. :silly: Just give it a shot.
It would be nice if someone can post a better solution

Zooper all day event start time

I really need help in two issues:
1. I want to use ":" as a text but not variable. Eg. : #C1SMMM# #C1Sd# |$#C1D#=0? #C1SHH:mm#$ #C1TITLE# #C1LOC#. Zooper parses ":" between hour and minute as "THEN" variable inside the formula. How can I make it appear just as text?
2. Time of all day events is 00-00 but Zooper. Eg. Today is 11 of June and I have all day event on 12-th of June, and I'm using +#C0STd# to show days left till next event, so that event is shown as +0 instead of +1. How can I fix it?
Thanks.
Anyone?
Wrong thread

Categories

Resources