Peppermint OS Community Forum

Resources => Artwork, Themes, and Icons => Topic started by: whitehavenchaz on August 29, 2016, 03:43:47 pm

Title: Date Missing? (SOLVED)
Post by: whitehavenchaz on August 29, 2016, 03:43:47 pm
Is it possible to add the date next to the time on the menu bar?  I have the time, but no date.

Thanks.
Title: Re: Date Missing?
Post by: zebedeeboss on August 29, 2016, 04:26:31 pm
Hi whitehavenchaz

for the date I choose to display
Quote
%a %d %b, %Y

Which gives me Mon 29 Aug, 2016.    If you use %A and %B It will give Monday and August.

or you can simply use
Quote
dd/mm/yyyy
  which will give you 29/08/2016.   Remember to leave what is there for the time to show

You can achieve this by right clicking the clock and choose properties (not panel properties) and then either pick an option from the relevant drop down or choose custom and configure it how you wish

Regards Zeb...
Title: Re: Date Missing?
Post by: emegra on August 29, 2016, 04:30:46 pm
Hi whitehavenchaz

You could add the orage clock to the panel which will give you a clock and an icon showing the current date, you can find orage in the repo or

Code: [Select]
sudo apt-get install orage

Then add it to the panel



Graeme
Title: Re: Date Missing?
Post by: whitehavenchaz on August 29, 2016, 05:01:57 pm
Hi whitehavenchaz

for the date I choose to display
Quote
%a %d %b, %Y

Which gives me Mon 29 Aug, 2016.    If you use %A and %B It will give Monday and August.

or you can simply use
Quote
dd/mm/yyyy
  which will give you 29/08/2016.   Remember to leave what is there for the time to show

You can achieve this by right clicking the clock and choose properties (not panel properties) and then either pick an option from the relevant drop down or choose custom and configure it how you wish

Regards Zeb...
I'm not sure what I did to this topic.  Anyway, I can get I Orage to install, which is not what I'm looking for.  I just want the date next to the time which I just I can't get. 
Sorry for the forum confusion - I'm not sure what I did. 
Title: Re: Date Missing?
Post by: zebedeeboss on August 29, 2016, 05:06:16 pm
Hi whitehavenchaz

for the date I choose to display
Quote
%a %d %b, %Y

Which gives me Mon 29 Aug, 2016.    If you use %A and %B It will give Monday and August.

or you can simply use
Quote
dd/mm/yyyy
  which will give you 29/08/2016.   Remember to leave what is there for the time to show

You can achieve this by right clicking the clock and choose properties (not panel properties) and then either pick an option from the relevant drop down or choose custom and configure it how you wish

Regards Zeb...
I'm not sure what I did to this topic.  Anyway, I can get I Orage to install, which is not what I'm looking for.  I just want the date next to the time which I just I can't get. 
Sorry for the forum confusion - I'm not sure what I did.

Hi  I am not on my main machine tonight. If no one answers and still open I will post tomorrow with screen shots.    I'll assume you are using P7 from your profile.

Regards Zeb...
Title: Re: Date Missing?
Post by: emegra on August 29, 2016, 05:10:53 pm
You can get what you want in orage by changing Line1 in the properties to %A %d %B %X

like this

http://imgur.com/a/I0meB (http://imgur.com/a/I0meB)

(http://imgur.com/a/I0meB)



Graeme
Title: Re: Date Missing?
Post by: PCNetSpec on August 29, 2016, 08:10:07 pm
You should (as zebedeeboss suggested) be able to get this with the regular clock on the xfce4-panel

Right-click the clock and select "Properties"

When the clock properties opens, select

Format: Custom Format

In the new box below, put one of these:-

24hr format with long date
Code: [Select]
%R %a %d %b %Y

24hr format with short date
Code: [Select]
%R %d %b

12hr format with long date
Code: [Select]
%I:M %P %a %d %b %Y

12hr format with short date
Code: [Select]
%I:M %P %d %b

or even (for Americans)
Code: [Select]
%I:M %P  date - %m/%d/%y
or (for the rest of us)
Code: [Select]
%I:M %P  date - %d/%m/%y
if you want ;)

etc.

You can get the options by running:
Code: [Select]
man strftime
Title: Re: Date Missing?
Post by: whitehavenchaz on August 30, 2016, 02:23:21 pm
I can't believe this is stumping me.  I don't see any option in the XFCE Panel or Orage to insert the date.  There is a choice to configure the time format.  What am I missing?

I have used Unity, Gnome 3.20, Cinnamon, Plasma 5 and Budgie with no issue inserting the date to the right of the time..  I just don't see it.  Yikes.
Title: Re: Date Missing?
Post by: PCNetSpec on August 30, 2016, 02:33:34 pm
There is  NO separate DATE field in the clock on the xfce4-panel .. those strings go under:-

Clock Options
Format: Custom Format
[string goes in this box, that appears when you choose "Custom Format" above]


in the clocks preferences page.

(https://i.imgur.com/GS7Tn10.png)
Title: Re: Date Missing?
Post by: whitehavenchaz on August 30, 2016, 02:51:59 pm
There is  NO separate DATE field in the clock on the xfce4-panel .. those strings go under:-

Clock Options
Format: Custom Format
[string goes in this box, that appears when you choose "Custom Format" above]


in the clocks preferences page.

(https://i.imgur.com/GS7Tn10.png)
Ah I got it.  This is what I did:  %a %b %d, %Y   %I:%R %p giving me 'Tue Aug 30, 2016  02:14:50 PM.'

Thanks.
Title: Re: Date Missing?
Post by: PCNetSpec on August 30, 2016, 03:15:02 pm
No problem, can you please remember to mark the topic solved by appending (SOLVED) to the end of the suject line in the FIRST posting in this topic.

TIA :)
Title: Re: Date Missing?
Post by: whitehavenchaz on August 30, 2016, 03:51:21 pm
No problem, can you please remember to mark the topic solved by appending (SOLVED) to the end of the suject line in the FIRST posting in this topic.

TIA :)
It isn't solved.  I just noticed my time hasn't changed.  Any ideas?

Edit:  I think it is solved, now, maybe.  %a %b %d, %Y   %I:%M:%S %p.  I am going to hold off marking this solved for an hour.
Title: Re: Date Missing?
Post by: murraymint on August 30, 2016, 03:57:38 pm
Tried logging out and in again?
Title: Re: Date Missing?
Post by: whitehavenchaz on August 30, 2016, 04:21:51 pm
I think I got it.  I will mark it as solved.