This has a slightly different shape to the standard line infantry képi, if you compare with previous picture. The Legion buttons have been in use for well over a hundred years, and still basicly unchanged. Example shown is definitely early WW1 or earlier. After 1915 the coloured uniform was replaced by horizon blue, shortly afterwards, the Legion received khaki uniforms of a similar cut to the horizon blue. Definitely not WW2.