How can format date to French value in RobotFramework?How to return only the Date from a SQL Server DateTime datatypeGiven a DateTime object, how do I get an ISO 8601 date in string format?How do I parse an ISO 8601-formatted date?How do you set a default value for a MySQL Datetime column?How to print a date in a regular format?How to subtract a day from a date?How do I get the current date and time in PHP?How to calculate the difference between two dates using PHP?Where can I find documentation on formatting a date in JavaScript?How to get the current date/time in Java
Should I email my professor about a recommendation letter if he has offered me a job?
What is the difference between 王 and 皇?
Causal Diagrams using Wolfram?
Are those flyers about apartment purchase a scam?
Why aren't rainbows blurred-out into nothing after they are produced?
Luggage Storage at Szechenyi Baths
Does an object storing more internal energy emit more thermal radiation?
Why is Python 2.7 still the default Python version in Ubuntu?
(A room / an office) where an artist works
Is there a fallacy about "appeal to 'big words'"?
In which case does the Security misconfiguration vulnerability apply to?
Big number puzzle
Would Mirko Vosk, Mind Drinker trigger Waste Not?
Identifying My Main Water Shutoff Valve / Setup
How would armour (and combat) change if the fighter didn't need to actually wear it?
Decipher case notes extract
How can I find an old paper when the usual methods fail?
Running code generated in realtime in JavaScript with eval()
Telephone number in spoken words
Why is tert-butoxide often used in elimination reactions when it is not necessary?
Lípínguapua dopo Pêpê
Shifting tenses in the middle of narration
How was the murder committed?
How should I write this passage to make it the most readable?
How can format date to French value in RobotFramework?
How to return only the Date from a SQL Server DateTime datatypeGiven a DateTime object, how do I get an ISO 8601 date in string format?How do I parse an ISO 8601-formatted date?How do you set a default value for a MySQL Datetime column?How to print a date in a regular format?How to subtract a day from a date?How do I get the current date and time in PHP?How to calculate the difference between two dates using PHP?Where can I find documentation on formatting a date in JavaScript?How to get the current date/time in Java
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Is it possible set a Local to Convert Date in Robotframework?
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
Thursday 04 April
but i need
Mardi 04 Avril
EDIT with a workaround:
*** Settings ***
Library SeleniumLibrary
Library Collections
*** Variables ***
&day_of_week_collections Monday=Lundi Thursday=Mardi Wednesday=Mercredi Thursday=Jeudi Friday=Vendredi Saturday=Samedi Sunday=Dimanche
&month_collections January=Janvier February=Février March=Mars April=Avril May=Mai June=Juin July=Juillet August=Août September=Septembre October=Octobre November=Novembre December=Décembre
$day_of_week= Convert Date $next_week result_format=%A
$day_of_week_fr= Get From Dictionary $day_of_week_collections $day_of_week
datetime robotframework
add a comment |
Is it possible set a Local to Convert Date in Robotframework?
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
Thursday 04 April
but i need
Mardi 04 Avril
EDIT with a workaround:
*** Settings ***
Library SeleniumLibrary
Library Collections
*** Variables ***
&day_of_week_collections Monday=Lundi Thursday=Mardi Wednesday=Mercredi Thursday=Jeudi Friday=Vendredi Saturday=Samedi Sunday=Dimanche
&month_collections January=Janvier February=Février March=Mars April=Avril May=Mai June=Juin July=Juillet August=Août September=Septembre October=Octobre November=Novembre December=Décembre
$day_of_week= Convert Date $next_week result_format=%A
$day_of_week_fr= Get From Dictionary $day_of_week_collections $day_of_week
datetime robotframework
add a comment |
Is it possible set a Local to Convert Date in Robotframework?
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
Thursday 04 April
but i need
Mardi 04 Avril
EDIT with a workaround:
*** Settings ***
Library SeleniumLibrary
Library Collections
*** Variables ***
&day_of_week_collections Monday=Lundi Thursday=Mardi Wednesday=Mercredi Thursday=Jeudi Friday=Vendredi Saturday=Samedi Sunday=Dimanche
&month_collections January=Janvier February=Février March=Mars April=Avril May=Mai June=Juin July=Juillet August=Août September=Septembre October=Octobre November=Novembre December=Décembre
$day_of_week= Convert Date $next_week result_format=%A
$day_of_week_fr= Get From Dictionary $day_of_week_collections $day_of_week
datetime robotframework
Is it possible set a Local to Convert Date in Robotframework?
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
Thursday 04 April
but i need
Mardi 04 Avril
EDIT with a workaround:
*** Settings ***
Library SeleniumLibrary
Library Collections
*** Variables ***
&day_of_week_collections Monday=Lundi Thursday=Mardi Wednesday=Mercredi Thursday=Jeudi Friday=Vendredi Saturday=Samedi Sunday=Dimanche
&month_collections January=Janvier February=Février March=Mars April=Avril May=Mai June=Juin July=Juillet August=Août September=Septembre October=Octobre November=Novembre December=Décembre
$day_of_week= Convert Date $next_week result_format=%A
$day_of_week_fr= Get From Dictionary $day_of_week_collections $day_of_week
datetime robotframework
datetime robotframework
edited Mar 27 at 11:28
sgrillon
asked Mar 27 at 10:31
sgrillonsgrillon
4,5783 gold badges36 silver badges64 bronze badges
4,5783 gold badges36 silver badges64 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I was able to get the French result using the locale library in python:
Evaluate locale.setlocale(locale.LC_ALL, 'french') locale
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
If you want 1st uppercase add this:
$today_s= Evaluate """$today_s""".title()
How to uppercase the 1st lettrer?mercredi=>Mercredi
– sgrillon
Mar 27 at 11:25
1
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:Evaluate """$today_s""".title()but then both days and months will be capitalized
– cullzie
Mar 27 at 11:35
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55375030%2fhow-can-format-date-to-french-value-in-robotframework%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I was able to get the French result using the locale library in python:
Evaluate locale.setlocale(locale.LC_ALL, 'french') locale
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
If you want 1st uppercase add this:
$today_s= Evaluate """$today_s""".title()
How to uppercase the 1st lettrer?mercredi=>Mercredi
– sgrillon
Mar 27 at 11:25
1
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:Evaluate """$today_s""".title()but then both days and months will be capitalized
– cullzie
Mar 27 at 11:35
add a comment |
I was able to get the French result using the locale library in python:
Evaluate locale.setlocale(locale.LC_ALL, 'french') locale
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
If you want 1st uppercase add this:
$today_s= Evaluate """$today_s""".title()
How to uppercase the 1st lettrer?mercredi=>Mercredi
– sgrillon
Mar 27 at 11:25
1
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:Evaluate """$today_s""".title()but then both days and months will be capitalized
– cullzie
Mar 27 at 11:35
add a comment |
I was able to get the French result using the locale library in python:
Evaluate locale.setlocale(locale.LC_ALL, 'french') locale
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
If you want 1st uppercase add this:
$today_s= Evaluate """$today_s""".title()
I was able to get the French result using the locale library in python:
Evaluate locale.setlocale(locale.LC_ALL, 'french') locale
$today= Get Time
$today_s= Convert Date $today result_format=%A %d %B
If you want 1st uppercase add this:
$today_s= Evaluate """$today_s""".title()
edited Mar 27 at 11:40
sgrillon
4,5783 gold badges36 silver badges64 bronze badges
4,5783 gold badges36 silver badges64 bronze badges
answered Mar 27 at 11:09
cullziecullzie
1,6752 gold badges6 silver badges13 bronze badges
1,6752 gold badges6 silver badges13 bronze badges
How to uppercase the 1st lettrer?mercredi=>Mercredi
– sgrillon
Mar 27 at 11:25
1
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:Evaluate """$today_s""".title()but then both days and months will be capitalized
– cullzie
Mar 27 at 11:35
add a comment |
How to uppercase the 1st lettrer?mercredi=>Mercredi
– sgrillon
Mar 27 at 11:25
1
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:Evaluate """$today_s""".title()but then both days and months will be capitalized
– cullzie
Mar 27 at 11:35
How to uppercase the 1st lettrer?
mercredi => Mercredi– sgrillon
Mar 27 at 11:25
How to uppercase the 1st lettrer?
mercredi => Mercredi– sgrillon
Mar 27 at 11:25
1
1
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:
Evaluate """$today_s""".title() but then both days and months will be capitalized– cullzie
Mar 27 at 11:35
In French apparently the days and months are not normally capitalized which is what the locale setting is adhering too. The best solution I can think of is to call:
Evaluate """$today_s""".title() but then both days and months will be capitalized– cullzie
Mar 27 at 11:35
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55375030%2fhow-can-format-date-to-french-value-in-robotframework%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown