Upcoming - Follow Date format from settings file

Post Reply
User avatar
MonyMony
Forecaster
Forecaster
Posts: 189
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Upcoming - Follow Date format from settings file

Post by MonyMony » Wed Nov 01, 2017 1:41 am

I've noticed that the date format of this block is in the mostly global standard, "day Month". Since the US needs to be different, can this block look to the date format from the main settings file to list as "Month day"? So instead of "31 October" it would be "October 31".

I know, us Americans are a pain. :lol:
Screen Shot 2017-10-31 at 9.39.56 PM.png
Screen Shot 2017-10-31 at 9.39.56 PM.png (104.44 KiB) Viewed 13812 times
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Jachym » Wed Nov 01, 2017 1:36 pm

Hi,
this is unfortunately a problem.

Because if you look in the setup, you only specify format for date + time, date and time.
But for date, it always includes the year. So in cases where we only want to show D + M, with no particular year (case of this block, we are talking about this day in general), the template has nothing to use

User avatar
MonyMony
Forecaster
Forecaster
Posts: 189
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by MonyMony » Wed Nov 01, 2017 2:30 pm

Understood... don't spend anymore time on this request. I'll just have to be happy using the global date format :lol:
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Jachym » Wed Nov 01, 2017 2:37 pm

theoretically the only solution is adding this as another time/date format in the Main setup. Technically possible of course, but not before next update of the whole template. This cannot be solved in this block

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Luc » Wed Nov 01, 2017 11:47 pm

Hi Jachym and MonyMony,
See the following about date and time notations around the world:
https://en.wikipedia.org/wiki/Date_format_by_country
There seems to be five different regions.
The US seems to have a population minority ;-)
Luc
Image

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Upcoming - Follow Date format from settings file

Post by John B » Thu Nov 02, 2017 1:22 am

It's a prickly subject, is it not?

In my communications, where it is possible, I use the 'international' or 'scientific' nomenclature. This is simply a cascading larger-to-lower representation of time - e.g. 2017-11-20 12:17:20.35

I wish the whole world would adopt that system as it would remove the current ambiguities which plague readers.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Jachym » Thu Nov 02, 2017 9:35 am

I always use Y-M-D, althouhg the most used format in CZ is D.M.Y.
I can understand both DMY and YMD, YMD is great for sorting because if you name files in this way they will be sorted in the correct chronological order.

One I simply cannot get my head around is why someone would use MDY :D

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Upcoming - Follow Date format from settings file

Post by John B » Thu Nov 02, 2017 9:39 pm

Jachym wrote: Thu Nov 02, 2017 9:35 am I always use Y-M-D, although the most used format in CZ is D.M.Y. ...
... One I simply cannot get my head around is why someone would use MDY :D
Hmm, says he looking at Jáchym's signature. :mrgreen:

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Jachym » Thu Nov 02, 2017 10:31 pm

John B wrote: Thu Nov 02, 2017 9:39 pm
Jachym wrote: Thu Nov 02, 2017 9:35 am I always use Y-M-D, although the most used format in CZ is D.M.Y. ...
... One I simply cannot get my head around is why someone would use MDY :D
Hmm, says he looking at Jáchym's signature. :mrgreen:
Nov 3, 2017 is fine

what I dont get is this one:

11/3/2017 - this is simply Mar 11 :D

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Jachym » Fri Nov 03, 2017 9:54 pm

Solved - Upcoming 2.0

User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Upcoming - Follow Date format from settings file

Post by wxthomson » Sat Nov 04, 2017 5:36 pm

Jachym wrote: Thu Nov 02, 2017 10:31 pm
John B wrote: Thu Nov 02, 2017 9:39 pm
Jachym wrote: Thu Nov 02, 2017 9:35 am I always use Y-M-D, although the most used format in CZ is D.M.Y. ...
... One I simply cannot get my head around is why someone would use MDY :D
Hmm, says he looking at Jáchym's signature. :mrgreen:
Nov 3, 2017 is fine

what I dont get is this one:

11/3/2017 - this is simply Mar 11 :D

wondering why Nov 3, 2017 is fine but the numerical equivalent is not. :)

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Upcoming - Follow Date format from settings file

Post by Jachym » Sat Nov 04, 2017 7:33 pm

Because:

Nov 3, 2017 - this is absolutely clear Nov = November

11/3/2017 - this is unclear because you cant tell if it is Mar 11 or Nov 3. And in such case Y/M/D or D/M/Y makes more sense to me

Post Reply