• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Problème avec la date

Topics related to the creation, development, and designing of the watch faces.

Moderators: asoo, Watchmens

Forum rules
All communication in this branch should only be in English.
Post Reply
godfroy22
Posts: 1
Joined: 17 Sep 2021, 11:13
Location: Belgique
Contact:

Problème avec la date

Post by godfroy22 »

Bonjour,

j'ai trouvé le code pour indiquer la date mais elle s'affiche dans ce format -- YYYY/MM/DD

Je voudrais la mettre dans ce format -- DD/MM/YYYY. Peut-on le faire?

Je ne maitrise pas l'anglais.

},
"Date": {
"MonthAndDayAndYear": {
"OneLineWithYear": {
"Number": {
"TopLeftX": 14,
"TopLeftY": 388,
"BottomRightX": 144,
"BottomRightY": 390,
"Alignment": "TopCenter",
"SpacingX": 0,
"SpacingY": 0,
"ImageIndex": 27,
"ImagesCount": 10
},
"DelimiterImageIndex": 50
},
"TwoDigitsMonth": true,
"TwoDigitsDay": true
}

Ou dois-je le faire manuellement en plaçant les périodes(DD/MM/YYYY) au bon endroit?
yaoun
WF maker
Posts: 14
Joined: 02 Sep 2020, 20:30
Location: France
Has thanked: 3 times
Contact:

Post by yaoun »

Bonjour, il n'existe pas de format prédéfinie pour avoir la date style "français".
Vous êtes obligés de le faire à la "main", c'est à dire d'indiquer où afficher la date, où afficher le mois et de rajouter un "/" sur le fond d'écran (généralement 0000.png)
exemple:
"Date": {
"MonthAndDayAndYear": {
"Separate": {
"Month": {
"TopLeftX": 123,
"TopLeftY": 243,
"BottomRightX": 90,
"BottomRightY": 311,
"Alignment": "TopLeft",
"SpacingX": 0,
"SpacingY": 0,
"ImageIndex": 15,
"ImagesCount": 10
},
"Day": {
"TopLeftX": 90,
"TopLeftY": 243,
"BottomRightX": 42,
"BottomRightY": 311,
"Alignment": "TopLeft",
"SpacingX": 0,
"SpacingY": 0,
"ImageIndex": 15,
"ImagesCount": 10
}
},
"TwoDigitsMonth": true,
"TwoDigitsDay": true
},

PS: je pense que nous sommes des voisins géographiques.
Post Reply

Return to “Watchfaces discussion”

Who is online

Users browsing this forum: No registered users and 1 guest