vscode-twig-language-2 icon indicating copy to clipboard operation
vscode-twig-language-2 copied to clipboard

Broken format: {%%} get inline if the parent tags has class attribute

Open dtvn opened this issue 6 years ago • 0 comments

This look terrible. image

Is there any option to fix it?

dtvn avatar Jul 23 '19 08:07 dtvn

I suggest having a method, inside RRuleSet, instead of having a feature flag. Again, Cargo requires that features are additive and it may affect other libraries unexpectedly.

omid avatar May 23 '22 08:05 omid

Another option which I am thinking about is making RRuleSet generic over the timezone used. Then the server code will look something like this:

use chrono::Utc;

let rrule_set: RRuleSet<Utc> = "DTSTART:...".parse().unwrap();

// Below will yield occurrences in Utc timezone
rrule_set.all(100); 

This approach will also solve #49 where generated occurrences should be in Local timezone and not chrono_tz::Tz.

use chrono::Local;

let rrule_set: RRuleSet<Local> = "DTSTART:...".parse().unwrap();

// Below will yield occurrences in Local timezone
rrule_set.all(100); 

fmeringdal avatar Jul 19 '22 11:07 fmeringdal